How can I make a trigger where if a certain unit dies, the game ends?

Here you may find answers to your questions.

Moderator: Endru1241

Post Reply
FireEnigma
Posts: 2
Joined: Tue Jul 02, 2019 10:51 pm

How can I make a trigger where if a certain unit dies, the game ends?

Post by FireEnigma » Tue Jul 02, 2019 10:56 pm

do not know if this was ever asked, but I do not think so. I'm doing a map with triggers, but I do not know how to do that one specifically. can anybody help me?

User avatar
godOfKings
Posts: 2121
Joined: Fri Sep 22, 2017 4:50 pm

Re: How can I make a trigger where if a certain unit dies, the game ends?

Post by godOfKings » Wed Jul 03, 2019 4:35 am

First give
Cond:object destroyed

Select which unit needs to die

Then give
EFF: declare victory

Select which player wins (usually 2 for ai and 1 for u, but u can change which players in map setup )
There is no place for false kings here, only those who proves themselves to b the true kings of legend, or serves under me

For I watch over this world looking for those worthy to become kings, and on the way get rid of the fakes and rule over the fools

FireEnigma
Posts: 2
Joined: Tue Jul 02, 2019 10:51 pm

Re: How can I make a trigger where if a certain unit dies, the game ends?

Post by FireEnigma » Wed Jul 03, 2019 9:23 am

Thank you, friend. I'd been looking for this for a while, but I had not found.

Post Reply

Return to “FAQ”