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

Order Smart's many uses

Status
Not open for further replies.
Okay, so I need to figure out how to differentiate between the various uses of Smart. If you right-click on anything, the GetUnitCurrentOrder() returns smart, regardless of if it's an enemy, an ally or a point and said target is being followed/attacked/moved to. Is there a way, using GetUnitCurrentOrder(), to find out which variant or smart my unit has? I'm trying to avoid having to catch it with an event and storing the GetOrderTargetUnit() into a variable for reference later on.
 
Status
Not open for further replies.
Top