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

TD trigger problem

Status
Not open for further replies.
Level 7
Joined
Sep 19, 2007
Messages
81
Hi im making a new td and im almost done with all the triggers (spawning/leaving/etc...) but im having one problem with my spawn trigger, i only want it to spawn for people who r ingame and also want the spawn to stop when people die/leave.

so here is the trigger for spawning if u can hlp me any way just respond and if u need more info jst ask thank u :wink:
 
Level 28
Joined
Jun 4, 2007
Messages
1,480
For player Red:
Event:
Condition:
Player 1 Red slot status equal to is playing (Player Slot Status Comparison)
Action: Do your spawning ^^

Another option is to use If, Then, Else (Multiple Functions) actions. In that way you would only need one trigger for spawning.

Event:
Condition:
Actoin:
If - Player 1 Red slot status equal to is playing
Then - Do your spawning
Else - Do Nothing

If - Player 2 Red slot status equal to is playing
Then - Do your spawning
Else - Do Nothing

e.t.c.
 
Status
Not open for further replies.
Top