• 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.

dust of appearance

Status
Not open for further replies.
Level 3
Joined
Aug 20, 2010
Messages
71
how do i order a dummy unit to cast dust of appearance? (i think that there is no issue order for that)
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
The order id of dust of appearance is 852625.

You need to use the JASS function IssueImmediateOrderById(unit u, integer i).
 
Level 13
Joined
Mar 24, 2013
Messages
1,105
Yes, that is the only way to do. And yes if you want to use "raw" JASS in GUI you need to use a custom script.

To further clarify it will be

  • Custom Script: IssueImmediateOrderById(udg_YourUnitVariableName, 852625)
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
Yes of course. Custom Script is nothing else then JASS statements.

Mind that if you create a global variable in the variable editor, for example "castUnit", the actual name is "udg_castUnit" (udg means user defined global).

So it would look something like this:
  • Custom script: call IssueImmediateOrderById(udg_castUnit, 852625)
 
Level 3
Joined
Aug 20, 2010
Messages
71
it is now saying: expected "call" as an error. could you spare your time by giving me the exact order?

Edit:
w/e seems like i wrote call with capital c or something

ty every1

Edit2:
1 more question:is there some kind of a list of all base order id's and their corresponding spell? (if so please give me the link )
 
Level 12
Joined
Feb 22, 2010
Messages
1,115
You can create a dummy unit with inventory and make it use dust of appearance(cool).
 
Status
Not open for further replies.
Top