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!
Hello.
I am making my own map and I need little help with triggers. I want to make player defeat when he gets 6 lumber, but i don't know how to do it. Thanks for help
Player - Player 1 (Red)'s Current lumber becomes Equal to 6.00
Conditions
Actions
Game - Defeat Player 1 (Red) with the message: Defeat!
However I do advice that you use either "greater than or equal to" or "less than or equal to", since that covers more area (the trigger right now fires only when you get 6 lumber exactly, not if you have less or more than 6).
If you want it for multiple players, you can do this:
trigger
Events
Player - Player 1 (Red)'s Current lumber becomes Equal to 6.00
Player - Player 2 (Blue)'s Current lumber becomes Equal to 6.00
Player - Player 3 (Teal)'s Current lumber becomes Equal to 6.00
Player - Player 4 (Purple)'s Current lumber becomes Equal to 6.00
Player - Player 5 (Yellow)'s Current lumber becomes Equal to 6.00
Player - Player 6 (Orange)'s Current lumber becomes Equal to 6.00
etc.
Conditions
Actions
Game - Defeat (Triggering player) with the message: Defeat!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.