Here I'm making a give command but I get issues with selection bug. I want to be sure that when red select 12 units and do, for example, -give 2, it'll give those 12 units only to player 2. But instead of it, it also include units selected by other players else than red.
Here my actual trigger:
Here my actual trigger:
- Events
- Player - Player 1 type a chat message containing -give 2 as a equivalent result
- Action
- Group Unit - Pick every units in (units currently selected by player 1) and do (if owner of picked units equal to player 1) then do (unit - Change ownership of picked unit to player 2 and change color), else do nothing