Fandom

Scratchpad

SHoWW2:Conditions

215,646pages on
this wiki
Add New Page
Discuss this page0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

There are numerous conditions to play around with. First we describe the "see_actors" condition:

  {trigger "tank_a_2"
     {condition
        {term 1 "see_actors"
           {selector
              {"actors/mids" 3 4 5 6 7 8}
           }
           {enemy
              {"actors/tag" "pl"}
              {"actors/type" "human"}
           }
        }
     }
     {actions
        {"event"
           {event 1}
           {mode set}
           {delay 0}
        }
     }
  }

The "see_actors" condition takes 2 parameters, first a list of mids who participate in the seeing, and then a list of enemies who they'll react to, in this case any unit that is tagged "pl", and any "human". (Humans will also be spotted if they are in a tank.)

Also on Fandom

Random wikia