Jump to content

Recommended Posts

Posted

Principles are the same for triggers and scripting. Recheck if the unit is in the zone at a given rate and count up if it is. Once you reach the time limit do the action, if it goes out of the zone reset the count value.

 

For the sake of simplicity this is what it looks like with triggers

 

Repetitive>Unit in Zone> Flag 1 increase 1

Switched Condition>Flag 1 is more than 300 > Do whatever action

Switched Condition > Unit out of Zone> Flag 1 set to False (off)

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...