• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Game Restart {canceling a trigger after all players have been defeated}

Status
Not open for further replies.
If the previous didnt work.Here's what i suggest. trigger off is a variable (type is real).

when u want to turn off the trigger then do it like this:

Event:(an event u want)
Conditions:
Actions: Set "trigger off" equal to 1

Event: Every 100 seconds of the game.
Conditon: If "trigger off" not equal to 1
Action:Spawn unit and make move.
 
I understand your problem

If your trigger does everything between wait intervals then

you need to check a condition before executing the actions

If(condition) then actions

wait 30 seconds

If (condition) then actions

check every time your run the actions, that will prevent anything from running

now if you get the idea, the condition in this case will be to check if the unit is dead or alive, thats all, solved
 
Status
Not open for further replies.
Back
Top