Goliath520
New Member
- Reaction score
- 0
I am trying to get a unit to move when an player presses arrow key, the unit moving is the unit selected but I am not sure how to completely do it. right now the trigger is:
Event:
Action:
I am not sure what to do to make it so that units not selected are removed from the group.
Edit: Ok, never mind, I found what I am looking for.
I needed another trigger that the event was player 1 deselects a unit.
Event:
'--Time - Every 0.20 seconds of game time
Condition:Action:
'--Unit group - Pick every unit (Units selected by player 1 (red)) and do action:
'-- Unit group - Add (picked unit) to "playerselection [1]"
I am not sure what to do to make it so that units not selected are removed from the group.
Edit: Ok, never mind, I found what I am looking for.
I needed another trigger that the event was player 1 deselects a unit.