This works fine. Raynor spawns and is selected for Player 1. However, if I then say "Select Leader for player 1" in ANY OTHER TRIGGER it doesn't work. The selection is unchanged. And yes, "Leader" is set up as a global variable, not local.
Never mind, I figured it out. It was happening because Player 1 had selected one of Player 2's units at the time, and you can't select P1's unit until P2's unit is deselected. Stupid me.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have the following as part of a trigger:
This works fine. Raynor spawns and is selected for Player 1. However, if I then say "Select Leader for player 1" in ANY OTHER TRIGGER it doesn't work. The selection is unchanged. And yes, "Leader" is set up as a global variable, not local.
Never mind, I figured it out. It was happening because Player 1 had selected one of Player 2's units at the time, and you can't select P1's unit until P2's unit is deselected. Stupid me.