- Joined
- Nov 20, 2006
- Messages
- 71
I looked through a lot of very old threads with people trying to figure out how to handle triggering things off of autocast but couldn't find a good answer.
This is the simplest version of what I'm trying to do:
If a unit fires autocast searing arrows, heal that unit for 1hp.
Most of what I saw was people who would add a unit to a group when it activates autocast, then remove it from the group when it deactivates autocast. The problem with this is that it doesn't take into account the situations where you autocast ability is on, but doesn't activate. If you have searing arrows on autocast and attack a magic immune unit, you can still be in the unit group but searing arrows isn't actually being used.
Does anyone have a better method?
This is the simplest version of what I'm trying to do:
If a unit fires autocast searing arrows, heal that unit for 1hp.
Most of what I saw was people who would add a unit to a group when it activates autocast, then remove it from the group when it deactivates autocast. The problem with this is that it doesn't take into account the situations where you autocast ability is on, but doesn't activate. If you have searing arrows on autocast and attack a magic immune unit, you can still be in the unit group but searing arrows isn't actually being used.
Does anyone have a better method?