As the title suggests, I would like to know an easy way to make a certain unit unable to attack by using triggers.
I would also like to make the unit able to attack again via triggers.
Either use Wolf's disable ability (Unit - Disable Unit Ability) or use Unit - Remove Unit Weapon and take away the unit's main weapon.
The advantage using the first method is that it'll disable any attack and you don't have to remove the specific weapon which is different for each unit type.
Hi.
As the title suggests, I would like to know an easy way to make a certain unit unable to attack by using triggers. I would also like to make the unit able to attack again via triggers.
You could remove the weapons from the unit.
How do I do that?
Search for the 'disable ability' action and use that to disable the unit's attack ability.
Either use Wolf's disable ability (Unit - Disable Unit Ability) or use Unit - Remove Unit Weapon and take away the unit's main weapon.
The advantage using the first method is that it'll disable any attack and you don't have to remove the specific weapon which is different for each unit type.
Thanks. I will try that.
Is it just as simple to return the unit's attack ability, later?
@Phrosen: Go
Yes, just Enable the attack ability again.
Or, if you remove the weapon, you can add it again (or any other weapon you want the unit to have).