• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

How to find item based skill order id for jass?

Status
Not open for further replies.
Level 3
Joined
Feb 19, 2016
Messages
32
Hey. I'm making a trigger for a spell. The trigger involves creating dummies and ordering them to cast an item-based spell. I've set it to unit, everything works well, but one thing. The spell somehow can't be cast by regular GUI action
  • Unit - Order (Caster) to (Spell Order) (Target)
I've read here, that it can be done by simple custom script line, that I've insterted below.
  • Custom script: call IssueTargetOrderById(caster, <There was some six digit number>, target)
I want to know how to get id, or number, or whatever it is called for a spell that I've based on illusion, from Wand of Illusion. Some help, please?
 
JASS:
// USE ONLY THE NUMBERS
    constant integer ORDER_useslot1=852008
    constant integer ORDER_useslot2=852009
    constant integer ORDER_useslot3=852010
    constant integer ORDER_useslot4=852011
    constant integer ORDER_useslot5=852012
    constant integer ORDER_useslot6=852013
There. I think that works.
But if you want Wand of Illusion, try what GhostHunter said
 
Status
Not open for further replies.
Top