PrisonLove
Hard Realist
- Reaction score
- 78
How can you make it so that you cannot give a unit any orders, but it is still selectable and owned by you?
Basically, something like Castle Wars, where a unit is spawned, given an order to move to an area, and the player, although he owns the unit, cannot give it any orders.
Edit: I uploaded the map. The current problem is that the unit can still be issued the "smart" order (right click) and this can cause it to move. I need this to not be the case. If I set the movespeed to 0 or move type to none, the unit will not move when I use SetUnitX()/SetUnitY(). Can someone take a look and see what the problem is?
Basically use the Koopa Troopa's bomb-omb ability and then select the bomb-omb and try to move him. He will, but he is not supposed to.
Basically, something like Castle Wars, where a unit is spawned, given an order to move to an area, and the player, although he owns the unit, cannot give it any orders.
Edit: I uploaded the map. The current problem is that the unit can still be issued the "smart" order (right click) and this can cause it to move. I need this to not be the case. If I set the movespeed to 0 or move type to none, the unit will not move when I use SetUnitX()/SetUnitY(). Can someone take a look and see what the problem is?
Basically use the Koopa Troopa's bomb-omb ability and then select the bomb-omb and try to move him. He will, but he is not supposed to.