• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Time - Every xxx seconds of game time

Status
Not open for further replies.

Ben

Ben

Level 2
Joined
Sep 19, 2006
Messages
11
What type of variable do i need to start a trigger every xxx seconds ?
Real variables do not work.... Am I able to use variables in events ?
 

Ben

Ben

Level 2
Joined
Sep 19, 2006
Messages
11
The answer is: just start a repeating timer with xxx seconds (can be a variable). Now create a trigger with the event timer abc expires. and the action "run trigger x checking conditions".

Next question: can i manipulate the timer anyhow ? I can start and pause it. But i did not find any way to set the timer at anytime to x+2 seconds or something like that
 

Ben

Ben

Level 2
Joined
Sep 19, 2006
Messages
11
Ok i managed it somehow... next question: how can i destroy a timer? i can pause and start the timer saved in a variable ... but how to destroy it ?
 
Status
Not open for further replies.
Top