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

Cancelling of Training a Unit

Status
Not open for further replies.
Level 14
Joined
Mar 4, 2009
Messages
1,156
  • Untitled Trigger 003
    • Events
      • Unit - A unit Begins training a unit
    • Conditions
    • Actions
      • Unit - Change ownership of (Triggering unit) to (Player(((Player number of (Owner of (Triggering unit))) + 1))) and Change color
      • Unit - Change ownership of (Triggering unit) to (Player(((Player number of (Owner of (Triggering unit))) - 1))) and Change color
      • Selection - Select (Triggering unit) for (Owner of (Triggering unit))
:D
 
Level 18
Joined
Jan 21, 2006
Messages
2,552
You can figure out the ID of any order by displaying the GetIssuedOrderId() value. There are lots and lots of orders that are not associated with any names. For instance, this cancel order.

If you go into our resources section, there is a library [vJass]PrintOrders which prints out all orders issued. You can use that to find the values for orders that you may not think are issued initially. Sorry that may have been confusing I hope you get what I mean.
 
Status
Not open for further replies.
Top