Some trigger help

flatleyld

Member!
Joined
Nov 11, 2004
Messages
17
Reaction score
0
I was hoping you all could help with some triggers that I need. I need a ROC trigger that will let all players know when a player leaves the game. And I need a trigger for a TD map that will not spawn monsters when a player slot is not playing. Because as it is now, if no one is playing in that slot, it still spawns monsters. :umm
 

the_playa6916

Member!
Joined
Jul 30, 2004
Messages
54
Reaction score
0
Location
CaNaDa
Website
Visit site
Both of those can be done using the condition Player Slot Status comparison.. Need an Example?
 

SoNiC_tHe_IgEl

Member!
Joined
Aug 6, 2003
Messages
503
Reaction score
0
Location
Germany
Website
www.kotzwuerg.de.vu
leave and stop spawn
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
If ((Player 1 (Red) slot status) Equal to Has left the game) then do (Game - Display to (All players) the text: OMG... Player 1 is ...) else do (Do nothing)
If ((Player 1 (Red) slot status) Equal to Has left the game) then do (Trigger - Turn off spawn trigger <gen>) else do (Do nothing)
 

ChrisH36

Guy with Most Posts on Quiet Board.
Joined
May 20, 2003
Messages
15,042
Reaction score
4
Location
Temple Prime, Sarajevo
There is:

Events:
Player 1 leaves game

Actions:
Display text: OMFG, (Player 1's name) left the game
Unit - Kill all units owned by Player 1 (or remove them)

Then set the name in the scoreboard to something like noob left the game or sumthing to demote his stupidity.
 

NewPosts

New threads

Top