Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Seems like you want to replace the attack function with an ability here. I don't know if there's any proper way to remove it since it's fairly much built in to the system but this page might help you.
If you do manage to remove the attack ability then make an ability (one with no target) that is in the same place as the attack ability.
You might be thinking right now ''hey why can't i use 'A unit attacks' instead?''. Well because then (if the unit is melee) the unit runs forward, almost attacks a unit, and then runs off to fight another guy.
I belive someone else would have to help with the triggers. That is not exactly my area you're heading into right now.
It is incredibly difficult to tell what you actually want.
Are you saying you want it that you click a button, the unit will attack a unit in range.
IE: Button makes your unit swing his weapon at the target in front (or otherwise within range). Kind of like an action arcade game?
You might be thinking right now ''hey why can't i use 'A unit attacks' instead?''. Well because then (if the unit is melee) the unit runs forward, almost attacks a unit, and then runs off to fight another guy.
You can't just change the attack function into an ability, since it's not an ability itself. You would have to manually remove it and then create an ability in it's place.
Try this:
A Unit Casts An Ability
Ability = Attack Melee
Play Caster's Attack Animation
Pick Every Unit Within 100 of Position of Caster Offest by 125 Towards Facing Angle of Caster Degrees And Do Actions:
Set Life of Picked Unit to Life - X(Attack power)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.