Fandom

Scratchpad

SHoWW2:Events

215,906pages 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.

Events can be either set or unset when created.

Events can be changed by triggers.

Triggers can use events to start actions.

How to define triggers (some examples)

The following code defines 2 events, one with state 1, and one with state 0.

  {event "prim_offic" id 86 state 1}
  {event "prim_offic_complete" id 87 state 0}

It is unclear what the next code does. My guess is that the event "zad2" starts with state 0, and after the delay of 617 passes it changes to state 1. More research is needed.

  {event "zad2" id 4 state 0}
  {event delayed 14252 13 1}
  {event delayed 617 4 1}

The next code shows how to use events to start triggers, it starts the action if both event 16 and 56 have value 1.

  {trigger "germans/nebel_fire"
     {condition
        {term 1 "event"
           {id 16}
        }
        {term 2 "event"
           {id 56}
        }
     }
     {action
     }
  }

Setting events in an action:

Here event 31 will be set after a small delay (the delay can be removed, if you want), even 76 will be toggled (1 will become 0, 0 will become 1) after delay "51 31" (what is that??). (Can events also be unset???)

  {trigger "germans/nebel_fire"
     {condition
     }
     {actions
        {"event"
           {event 27}
           {mode set}
           {delay 15}
        {"event"
           {event 76}
           {mode toggle}
           {delay "51 13"}
        }
     }
  }

Also on Fandom

Random wikia