Wikia

Scratchpad

SHoWW2:Conditions

217,481pages on
this wiki
Discuss this page0

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.)

Around Wikia's network

Random wikia