Xan_Kriegor
I can change this now in User CP.
- Reaction score
- 12
I'm trying to make a trigger for something that happens when Unit A is channeling an ability on Unit B (doesn't necessarily need to be channeling, could just be an ability with casting time), and then Unit B in turn casts the same ability on Unit A. So, I have two units casting the same spell at each other.
What I'm having trouble with is detecting the specific spell that each unit is casting. I can tell which spell Unit B casts, but I can't then tell what spell Unit A is casting. 'Current order of (Target unit of ability being cast) NOT Equal to (Order(Cast))' has worked thus far, but it also activates the trigger when Unit B casts it on some random unit purely moving away, which is obviously not desired.
The reason I used Not Equal to above was because if I used Equal to then it would trigger when Unit A cast the spell on Unit B, but not when Unit B then cast it back on Unit A.
Any (hopefully simple) ideas on how to do this?
What I'm having trouble with is detecting the specific spell that each unit is casting. I can tell which spell Unit B casts, but I can't then tell what spell Unit A is casting. 'Current order of (Target unit of ability being cast) NOT Equal to (Order(Cast))' has worked thus far, but it also activates the trigger when Unit B casts it on some random unit purely moving away, which is obviously not desired.
The reason I used Not Equal to above was because if I used Equal to then it would trigger when Unit A cast the spell on Unit B, but not when Unit B then cast it back on Unit A.
Any (hopefully simple) ideas on how to do this?