• 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] OrderID for Wand of Illusion

Status
Not open for further replies.
Level 5
Joined
Dec 17, 2007
Messages
145
Ahh, I feel stupid, but I have to ask to finish this spell...

What's the OrderID for the Wand of Illusion spell? It doesn't possess one in the Object Editor, so I'm thinking it's a hidden one.

Just fill in this blank for me.

JASS:
call IssueTargetOrder(u, "blank", u2)

Thanks in advance!
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
DarkWulfV, I haven't tried this for about a year, but if I recall correctly it's one of those orders that has no orderstring. (In fact, I doubt it has an orderid either, since the only way you can use it is on an item, and items use the orderid of the slot rather than the orderid of the ability...)

You could always add an item with the ability on it to a unit, then order the unit to use that item on another unit.
 
Level 5
Joined
Dec 17, 2007
Messages
145
Give it one and then use that one you gave it.
That doesn't work, only Channel and (insert other ability involving gold mine whose name I can't remember) can have changed orderID's and orderstrings. Oh and Spellbook.

You could always add an item with the ability on it to a unit, then order the unit to use that item on another unit.
That, on the other hand, is far more likely to work. Alls I need to do is make the dummy, give it the item, and cast. Thanks a bunch!
 
Status
Not open for further replies.
Top