I want my unit to NOT auto attack a unit unless i right click on the attack button and then begins the auto attack.
sorta like REPAIR on the SCV , once you right click it, it auto repairs but i also want to be able to REclick the attack button to stop the auto attacks.
basicly trying to have a ABILITY that alows me to turn on and off the auto attack.
Copy the Ghost's Hold Fire ability, but use the "behavior" ability type. The actual effect is created by a flag in the behavior under Modification+ Behavior Status, check "Passive".
The first Behavior created by the Ghost's ability wears off after 0.07 seconds though, so you have to change that for the ability's on/off switch to work.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
ok so what im trying to do is this :
I want my unit to NOT auto attack a unit unless i right click on the attack button and then begins the auto attack.
sorta like REPAIR on the SCV , once you right click it, it auto repairs but i also want to be able to REclick the attack button to stop the auto attacks.
basicly trying to have a ABILITY that alows me to turn on and off the auto attack.
@Selfcreation: Go
You could use an ability of type Behavior, and enable the Auto-cast and Smart commands, I believe.
Make the corresponding Behavior enable the weapon when active, disable when not present.
Not 100% that will work but sounds close.
Copy the Ghost's Hold Fire ability, but use the "behavior" ability type. The actual effect is created by a flag in the behavior under Modification+ Behavior Status, check "Passive".
The first Behavior created by the Ghost's ability wears off after 0.07 seconds though, so you have to change that for the ability's on/off switch to work.