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

Cancelling of Training a Unit

Status
Not open for further replies.
Level 13
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