• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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