Ok, so I have a map where your HQ builds soldiers, and you have to kill the enemies HQ's, it's a 4 player map.
Here is the question: how would I create the trigger so that when there is only one hq, the player owning the hq wins and every one else loses.
I am an amature on the galaxy editor, but I am really struggling on this...Help appreciated(?)
Make a trigger with an event that checks for destroyed buildings. Then run an "If Then Else" statement to check for the amount of remaining HQs. If there's just one left, end the game in victory for whoever has a HQ left - and defeat for those that don't. I'll edit with a trigger example in a minute.
Edit: My bad, you can't have an event checking for just unit type - it would have to check for a specific, placed unit. So make it "Timer - Every 1.0 seconds of Real Time" instead.
Ok, so I have a map where your HQ builds soldiers, and you have to kill the enemies HQ's, it's a 4 player map.
Here is the question: how would I create the trigger so that when there is only one hq, the player owning the hq wins and every one else loses.
I am an amature on the galaxy editor, but I am really struggling on this...Help appreciated(?)
-Mr12toe
@Mr12toe: Go
Make a trigger with an event that checks for destroyed buildings. Then run an "If Then Else" statement to check for the amount of remaining HQs. If there's just one left, end the game in victory for whoever has a HQ left - and defeat for those that don't. I'll edit with a trigger example in a minute.
Edit:
Edit: My bad, you can't have an event checking for just unit type - it would have to check for a specific, placed unit. So make it "Timer - Every 1.0 seconds of Real Time" instead.
Thanks a ton.
:D
But now all I have to do is figure out how to stop building soldiers when your hq is destroyed...
:(
-Mr12toe