HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Victory/Defeat Trigger

07-23-2004, 06:20 PM#1
GellingFellan
I need to make a trigger where if a specific unit dies, one team loses the game and the other team wins the game.

Example: In Dota, if the Sentinel kills the Scourge's "Frozen Throne", all Scourge players lose and all Sentinel players win.

Thanks :D
07-23-2004, 06:26 PM#2
Azhag
Heh.

Event- Unit dies
Condition- dying unit = to *your unit*
Actions- End game in defeat for player 1
Actions- End game in defeat for player 2
Actions- End game in defeat for player 3
Actions- End game in defeat for player 4

Hope that helps.
07-24-2004, 05:49 PM#3
GellingFellan
Quote:
Originally Posted by Azhag
Heh.

Event- Unit dies
Condition- dying unit = to *your unit*
Actions- End game in defeat for player 1
Actions- End game in defeat for player 2
Actions- End game in defeat for player 3
Actions- End game in defeat for player 4

Hope that helps.

The part in red is the part I can't figure out, how do you choose "your unit"?

Also, does ending the game in defeat for half the players automatically end the game in victory for the rest of the players?
07-24-2004, 06:13 PM#4
Rafael Br
You dont have to choose "your unit", pick the unit that you wish to check, like you, the specific unit that triggers the action,or use the event-Specifict unit event then select that unit on the map, and use the "dies" event.
07-24-2004, 06:51 PM#5
GellingFellan
Ahh I get it now thanks Rafael :D