• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] Avoid getting a unit stopped by an ability

Status
Not open for further replies.
Level 28
Joined
Feb 2, 2006
Messages
1,631
Hey,
since I use many channel based abilities I'd like to know if there is any possibility NOT to stop the casting unit?
For example when I order the unit to go somewhere and cast the channel ability it should continue moving.

Besides I'd like to know if there is a list of abilities and JASS functions which do stop the unit and which do not?
For example, I do add items in my custom inventory system using:
JASS:
UnitAddItemToSlotById(whichUnit, itemType, slot)
I am not sure if this function stops the unit or the channel based ability but I'd like to have some kind of list and to know how I can avoid such effects since the player should be able to interact with the unit without stopping it all the time.
 
Level 6
Joined
Jun 18, 2004
Messages
119
Hey Barade,

Sadly, the only abilities that do not interrupt the unit's orders are windwalk and berserk (afaik).

Adding an item to a unit does not stop it. I think a unit only loses its order if it is ordered something else by code, or is manually stopped by the the player.
 
Status
Not open for further replies.
Top