Jump to content

Recommended Posts

Posted

OK guys.

 

So I would like to make sure a MP Huey is hovering long enough above an infantry unit to perform the extraction successfully, say 30 sec.

 

I trigger a FLAG ON whenever the Huey is above the infantry group, and I set the same FLAG OFF whenever it goes a bit too far from the infantry group.

 

My trigger for successful extraction is based on the condition Time since FLAG, 30 seconds.

 

IF my chopper triggers the FLAG ON, then drifts away which trigger the FLAG OFF, does my 30 sec countdown resets to 0?

Thanks.

Posted

Yes. As long as the flag is true (greater than 0) the time since flag will work. If it changes to another true value the timer will reset back to 0 and count up. If the flag is turned off or set to 0 the timer stops until the flag is true again.

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