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

Idle Unit Detection

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,197
No, WarCraft III has very poor support for interacting with player GUIs.

You can detect idle units programaticly by polling units that have no current order. Be careful as polling is rather resource intensive and could easilly cause performance to degrade if there are any leaks in the script, if the period is too high or if the unit scope is too large.
 
Status
Not open for further replies.
Top