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

Command ID for Item Area Heal/Mana Regain

Status
Not open for further replies.
Level 2
Joined
Nov 3, 2018
Messages
12
What is the custom script command for casting this ability? Item Area Heal/Mana Regain.
I need order a dummy to cast it, but giving a "use: order string" in the object editor doesn't work.
 
JASS:
native IssueImmediateOrderById      takes unit whichUnit, integer order returns boolean
usage->
JASS:
call IssueImmediateOrderById(udg_"variableName",  orderId )

Search the orderId inside that list : Orders repo

Or get it with a Trigger by printing out orders done.
Manualy order it to cast. Write the number down.
Print the given order.
JASS:
 call BJDebugMsg(I2S( GetIssuedOrderId() ) )
 
Level 2
Joined
Nov 3, 2018
Messages
12
Thank you! I know I'm late but I'll answer anyway, its an order with no target

It works, no issues!
 
Last edited:
Status
Not open for further replies.
Top