Juggernaut
I don't know what to change it to
- Reaction score
- 33
So I want to create a sniper unit. And whenever it tries to attack
It should stop attacking and cast a spell on the unit.
I try to do this but it doesn't work at all.
I tried it will "aquires a target" but often the Unit does 1 attack and then starts casting the spell.
And sometimes it just keeps attacking without casting the spell (but the spell icon is highlighted as if it is casting it)
The unit does not posses the spell, I want that whenever he is trying to attack, he gets the spell and then casts it to the target.
As I said, sometimes it works sometimes it does not.
Also I created a trigger so If the unit stops the cast then the spell should disappear. Also this trigger sometimes works and sometimes does not.
Can anyone create a basic trigger for this?
I try it with the rifleman - human.
Thank you, I hope someone can help me
EDIT: It would also be really awesome if after the unit successfully casts the spell he should not be able to attack for 4seconds. (reloading and stuff) and then after that the attack gets re-enabled and soon...
It should stop attacking and cast a spell on the unit.
I try to do this but it doesn't work at all.
I tried it will "aquires a target" but often the Unit does 1 attack and then starts casting the spell.
And sometimes it just keeps attacking without casting the spell (but the spell icon is highlighted as if it is casting it)
The unit does not posses the spell, I want that whenever he is trying to attack, he gets the spell and then casts it to the target.
As I said, sometimes it works sometimes it does not.
Also I created a trigger so If the unit stops the cast then the spell should disappear. Also this trigger sometimes works and sometimes does not.
Can anyone create a basic trigger for this?
I try it with the rifleman - human.
Thank you, I hope someone can help me
EDIT: It would also be really awesome if after the unit successfully casts the spell he should not be able to attack for 4seconds. (reloading and stuff) and then after that the attack gets re-enabled and soon...