• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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