I am somewhat new to the editor and have taught myself a lot. It's been a lot of fun and very satisfying. I am almost ready to test my first map, but I am having problems getting the victory triggers right. Basically each of four people have their own Commanders. The goal is to kill all of your opponents Commanders. The player with the last Commander alive wins. Any help that could get me thru this would be very much appriciated. Thanks ahead of time. :)
At the beginning of the game, add all of the players to a global Player Group variable. When a player's commander dies, remove that player from the Player Group variable. Immediately after removing them, check the number of players in the Player Group variable. If = 1, end game in victory for the remaining player, defeat for the other players.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I am somewhat new to the editor and have taught myself a lot. It's been a lot of fun and very satisfying. I am almost ready to test my first map, but I am having problems getting the victory triggers right. Basically each of four people have their own Commanders. The goal is to kill all of your opponents Commanders. The player with the last Commander alive wins. Any help that could get me thru this would be very much appriciated. Thanks ahead of time. :)
At the beginning of the game, add all of the players to a global Player Group variable. When a player's commander dies, remove that player from the Player Group variable. Immediately after removing them, check the number of players in the Player Group variable. If = 1, end game in victory for the remaining player, defeat for the other players.