• 🏆 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!

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