• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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