- Joined
- Mar 28, 2004
- Messages
- 1,616
Is there a leak free way to use this event response?
I want an AI controled unit to automaticaly use a certain ability when a target is in range.
With some abilities AI automaticaly cast it when engaging fight like "finger of death" but some other AI never use the ability like "Acid bomb".
So I made a trigger using "unit notice a target in range" to force them to use abilities but I think it leak because I use "add event to trigger".
I want an AI controled unit to automaticaly use a certain ability when a target is in range.
With some abilities AI automaticaly cast it when engaging fight like "finger of death" but some other AI never use the ability like "Acid bomb".
So I made a trigger using "unit notice a target in range" to force them to use abilities but I think it leak because I use "add event to trigger".