- Joined
- Jul 10, 2007
- Messages
- 6,306
I've just about succeeded in this, but the player can still order the unit to stop.
Anyone know how to make it so a player can't control a specific unit?
This is what I've done thus far (but it messes with all units).
But I can't remove Stop D:.
Anyways, anyone know how to stop a player from controlling a unit entirely, or to use the method I'm using right now to prevent a player form ordering a unit to stop?
Tx ^)^.
Anyone know how to make it so a player can't control a specific unit?
This is what I've done thus far (but it messes with all units).
JASS:
call SetPlayerAbilityAvailable(player, 'Amov', true)
call SetPlayerAbilityAvailable(player, 'Aatk', true)
//create unit
//order unit
call SetPlayerAbilityAvailable(player, 'Amov', false)
call SetPlayerAbilityAvailable(player, 'Aatk', false)
But I can't remove Stop D:.
Anyways, anyone know how to stop a player from controlling a unit entirely, or to use the method I'm using right now to prevent a player form ordering a unit to stop?
Tx ^)^.