Agree with above post, however setting range to 0 and move speed to .01 isn't the best way to do it.
Instead, under modifications+, go to the 'behaviors' section (4th from the left) and under 'modify flags' enable "DISABLE ABILITIES"
Do you guys want a full fleshed guide or would a few pointers be helpful?
For the unit that you want to be able to use bash, make a behavior
Tab over to the combat tab of the behavior, set the damage response chance to whatever you want, like .2 for 20%.
Move down set the damage response event thingy to attacker.
Set the handled effect to an effect that applies a different behavior.
Have this behavior set the targets range to 0 and movespeed to .01 and voila.
thats it for pointers, if nobody else does, I could make a simple guide after I finish my map
Would work. But the whole point of a stun is to pause a unit, not extremely slow it. You'd be better of disabling it's abilities as well as/or pausing the unit altogether (but still allowing damage to be applied)
.01 movement speed means that it is unable to turn or move completely.
The map that I used this particular method in only has passive abilities, several of which I intended to be active while bashed, and so it was not necessary to disable abilities completely.
This was of course just a few simple pointers to send them in the right direction, and by no means the best solution for everyone.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm looking to make a passive ability for a hero that will give them a chance to bash the target on attack, stunning them and doing extra damage.
I too, would like to know how to do this.
Do you guys want a full fleshed guide or would a few pointers be helpful?
For the unit that you want to be able to use bash, make a behavior
Tab over to the combat tab of the behavior, set the damage response chance to whatever you want, like .2 for 20%.
Move down set the damage response event thingy to attacker.
Set the handled effect to an effect that applies a different behavior.
Have this behavior set the targets range to 0 and movespeed to .01 and voila.
thats it for pointers, if nobody else does, I could make a simple guide after I finish my map
Agree with above post, however setting range to 0 and move speed to .01 isn't the best way to do it. Instead, under modifications+, go to the 'behaviors' section (4th from the left) and under 'modify flags' enable "DISABLE ABILITIES"
Would work. But the whole point of a stun is to pause a unit, not extremely slow it. You'd be better of disabling it's abilities as well as/or pausing the unit altogether (but still allowing damage to be applied)
.01 movement speed means that it is unable to turn or move completely.
The map that I used this particular method in only has passive abilities, several of which I intended to be active while bashed, and so it was not necessary to disable abilities completely. This was of course just a few simple pointers to send them in the right direction, and by no means the best solution for everyone.