• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Setting events in a trigger

Status
Not open for further replies.
Level 3
Joined
Jun 19, 2017
Messages
19
Hi.
Maybe it's a stupid question, but I'll ask anyway.

I want to perform an action when player 2 looses.
Same action when player 3 looses.
And same action when player 4 looses.

Can I set my trigger like this?

-----------------------------------------------
Events
-Player 1 (red) leaves the game with a defeat
-Player 2 (blue) leaves the game with a defeat
-Player 3 (cyan) leaves the game with a defeat

Conditions
NO

Actions
-Make spawn creep (for example)
-----------------------------------------------

Or do I have to create one trigger for each event?

I don't really understand if all 3 events have to happen to perform the action (like conditions), or if the action is performed when one of the events happens...

Thanks :)
 
Level 19
Joined
Jul 2, 2011
Messages
2,162
You got it right, you can make it all in one trig

The even works that anything that happen in event tiggers the trig.
However
If you want to say, when player 1 2 and three lose, then you will have to create a number variable or player group
 
Status
Not open for further replies.
Top