• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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