I made a Map initialization trigger where I create a Zealot for every active player and inside that loop I mark my global variable PlayerUnit[Picked Player]. After that I have a trigger that if a unit in that array is given an order (PlayerUnit[1], PlayerUnit[2], etc.) then display a text.
The problem is that any unit that is given an order will make that message appear.
Does it have to do with constants in events and if so how to make it work?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I made a Map initialization trigger where I create a Zealot for every active player and inside that loop I mark my global variable PlayerUnit[Picked Player]. After that I have a trigger that if a unit in that array is given an order (PlayerUnit[1], PlayerUnit[2], etc.) then display a text.
The problem is that any unit that is given an order will make that message appear.
Does it have to do with constants in events and if so how to make it work?