- Joined
- Dec 3, 2020
- Messages
- 815
So exactly as the thread title says...
How can I check in a condition if a unit is either not attacking enemies and if he's not casting/channeling a spell (need to check both but specifically for the channel)?
Or the opposite, how can I check if the unit is attacking enemies and channeling a spell?
I basically want to order the unit to attack move to the position of a building if it is idle (not moving, not attacking, not casting or channeling any spells).
How can I check in a condition if a unit is either not attacking enemies and if he's not casting/channeling a spell (need to check both but specifically for the channel)?
Or the opposite, how can I check if the unit is attacking enemies and channeling a spell?
I basically want to order the unit to attack move to the position of a building if it is idle (not moving, not attacking, not casting or channeling any spells).
Last edited: