so ive created a spell based on immolation, and a special effect is supposed to happen when u turn it off, this is what i have
It triggeres when i deactivate immolation, and not when i activate it so that was nice and it didnt trigger when i used other abilites. just like planned. the problem occured when i hit an item in my inventory with a use, it triggered every time i used any item. any thoughts or solutions?
Trigger:
- Blades of Immolation Deactivate
- Events
- Unit - A unit Is issued an order with no target
- Conditions
- (Issued order) Equal to (Order(unimmolation))
- (Unit-type of (Ordered unit)) Equal to Shadow Dancer
- Actions
- Set BoImmolationCaster_U = (Ordered unit)
- Set BoImmolationCaster_Point = (Position of BoImmolationCaster_U)
- For each (Integer A) from 1 to 4, do (Actions)
- Loop - Actions
- For each (Integer B) from 1 to (4 + (2 x (Integer A))), do (Actions)
- Loop - Actions
- Special Effect - Create a special effect at (BoImmolationCaster_Point offset by (50.00 x (Real((Integer A)))) towards ((360.00 / (4.00 + (2.00 x (Real((Integer A)))))) x (Real((Integer B)))) degrees) using Abilities\Weapons\BlackKeeperMissile\BlackKeeperMissile.mdl
- Special Effect - Destroy (Last created special effect)
- Loop - Actions
- For each (Integer B) from 1 to (4 + (2 x (Integer A))), do (Actions)
- Loop - Actions
- Events
It triggeres when i deactivate immolation, and not when i activate it so that was nice and it didnt trigger when i used other abilites. just like planned. the problem occured when i hit an item in my inventory with a use, it triggered every time i used any item. any thoughts or solutions?