jwallstone
New Member
- Reaction score
- 33
When a hero uses an item like Staff of Teleportation, there's a Casting Delay where the unit is channeling the spell (just like the Archmage's Mass Teleport).
How do I detect when a hero is channeling this? The unit's orderstrings are unfortunately null when doing this. I know about the Unit Uses an Item event, which I could use to set some boolean to indicate that the hero has begun using the item, but how do I detect when it's done?
And, what about when the channeling is interrupted, either by the user or a stunning spell? How can I detect that?
Thanks.
How do I detect when a hero is channeling this? The unit's orderstrings are unfortunately null when doing this. I know about the Unit Uses an Item event, which I could use to set some boolean to indicate that the hero has begun using the item, but how do I detect when it's done?
And, what about when the channeling is interrupted, either by the user or a stunning spell? How can I detect that?
Thanks.