- Joined
- Jul 13, 2011
- Messages
- 1
How can I change ownership of a selected unit by typing something like "-give color".
Let's say I want to give a unit of mine to player blue. So I type in the message "-give blue" and then the selected unit of mine is changed ownership to blue. However, only the player of that unit can change the ownership of that unit. So If I'm player red, I'm the only one that change my unit's ownership and no other players are able to change the ownership of my units. So like only player red is able to change ownership of their units, only player blue is only able to change ownership of his units, and so on.
Similar Example: So I want to give a unit of mine to player green, so I type in "give green" and the selected unit of mine is given to green.
How do I do this trigger in world editor?
Let's say I want to give a unit of mine to player blue. So I type in the message "-give blue" and then the selected unit of mine is changed ownership to blue. However, only the player of that unit can change the ownership of that unit. So If I'm player red, I'm the only one that change my unit's ownership and no other players are able to change the ownership of my units. So like only player red is able to change ownership of their units, only player blue is only able to change ownership of his units, and so on.
Similar Example: So I want to give a unit of mine to player green, so I type in "give green" and the selected unit of mine is given to green.
How do I do this trigger in world editor?