- Joined
- Mar 27, 2020
- Messages
- 16
[Solved] Attack interval is buggy to triggeror something. I solved the problem with this (see Attached File).
Original message:
Hey, I want to make a spell that a specific hero CAN auto attack. So by default he should not be able to attack.By pressing the ability (instant selfcast) he should attack very fast for 4 seconds, then stops again.
So far my way to achieve this was like this:
I set the attack cooldown of the hero unit to a very high level so he wont attack. Then by clicking the ability I set the "Unit - Set Attack Interval" to a desired attack speed level via triggers.
It works pretty fine, but I don't know how to stop this trigger, or how to set it back to highvalues. The "wait" action doesn't seem to work, but I guess I don't understand the system.
I am completely new to modding so please explain this like you would to a toddler.
Btw, you guys here do awesome work, I didn't know how big the modding community was. Its crazy what you have achieved here!
Original message:
Hey, I want to make a spell that a specific hero CAN auto attack. So by default he should not be able to attack.By pressing the ability (instant selfcast) he should attack very fast for 4 seconds, then stops again.
So far my way to achieve this was like this:
I set the attack cooldown of the hero unit to a very high level so he wont attack. Then by clicking the ability I set the "Unit - Set Attack Interval" to a desired attack speed level via triggers.
It works pretty fine, but I don't know how to stop this trigger, or how to set it back to highvalues. The "wait" action doesn't seem to work, but I guess I don't understand the system.
I am completely new to modding so please explain this like you would to a toddler.
Btw, you guys here do awesome work, I didn't know how big the modding community was. Its crazy what you have achieved here!
Attachments
Last edited: