Difference between revisions of "StartCountdown"

From NexusWiki
Jump to: navigation, search
(Created page with ''''StartCountdown'''(from, endevent); A timer appears on the tactical screen that counts back from ’from’ seconds, and it gives the ’endevent’ at 0, if it is not 0.')
 
 
Line 2: Line 2:
  
 
A timer appears on the tactical screen that counts back from ’from’ seconds, and it gives the ’endevent’ at 0, if it is not 0.
 
A timer appears on the tactical screen that counts back from ’from’ seconds, and it gives the ’endevent’ at 0, if it is not 0.
 +
 +
Be careful, because unlike LocalEvent() the endevent will be called in all active rulesets (machines) so you might end up calling events you didn't intend to.

Latest revision as of 00:54, 8 August 2009

StartCountdown(from, endevent);

A timer appears on the tactical screen that counts back from ’from’ seconds, and it gives the ’endevent’ at 0, if it is not 0.

Be careful, because unlike LocalEvent() the endevent will be called in all active rulesets (machines) so you might end up calling events you didn't intend to.