Hey everyone, I'm relatively new to the map editing scene and was looking for some help. Right now I'm working on a 2 player base defense map. Basically the middle is split into two sides, each side is a base for each player, the two sides are joined by a building. if the building is destroyed then both players lose. However, I want to make it so you dont NEED two players.
So my question is can you make a trigger that turns off all the triggers for the second player when only 1 player is in the game? I'm assuming its a sort of condition - hence the title of the thread -
Help is greatly appreciated! and if there is a thread already like this please direct me and sorry for double posting :D
If I have buildings already placed for both player 1 and 2, will the trigger interpret the placed units as "active" ? And do I need to create a trigger that adds players at start of map to active group?
No, the active player group will only return only the number of players in the game (might count computer players too, not 100% sure.. but thats easily tested).
Hey everyone, I'm relatively new to the map editing scene and was looking for some help. Right now I'm working on a 2 player base defense map. Basically the middle is split into two sides, each side is a base for each player, the two sides are joined by a building. if the building is destroyed then both players lose. However, I want to make it so you dont NEED two players.
So my question is can you make a trigger that turns off all the triggers for the second player when only 1 player is in the game? I'm assuming its a sort of condition - hence the title of the thread -
Help is greatly appreciated! and if there is a thread already like this please direct me and sorry for double posting :D
Number of players in player group(active players) == 1? just a thought
@Ruzial: Go
If I have buildings already placed for both player 1 and 2, will the trigger interpret the placed units as "active" ? And do I need to create a trigger that adds players at start of map to active group?
No, the active player group will only return only the number of players in the game (might count computer players too, not 100% sure.. but thats easily tested).
Awesome, it worked. thanks everyone for the help =)