M
maerlyn
Guest
In my map, there are units set out for each player. I wanted to delete the units of players not present, so I made a trigger:
I thought there was a small chance it would work, so I tried it. And it removed the units for Player 2, and no one else. Later I found out that when I Tested it, it would automatically add a Player 2. When I tried to make a multiplayer game, the Undead force with one computer in it would be empty. What's going on? How do I make the enemies count as a player? And can anyone help me with a trigger that deletes excess units?
Code:
"Remove Excess Units"
Events: Map Initialization
Conditions:
Actions: If ((Player 2 (Red) controller) Equal to Computer) then do (Unit - Remove Rifleman 0011 <gen> from the game) else do (Do nothing)
I thought there was a small chance it would work, so I tried it. And it removed the units for Player 2, and no one else. Later I found out that when I Tested it, it would automatically add a Player 2. When I tried to make a multiplayer game, the Undead force with one computer in it would be empty. What's going on? How do I make the enemies count as a player? And can anyone help me with a trigger that deletes excess units?


