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

EVENT: A unit stops moveing?

Status
Not open for further replies.
Level 11
Joined
Mar 8, 2006
Messages
277
Man how can i put some actions from a trigger after a unit stops moving? Without to use a region or sort of it, the order with no target event doesnt work.

Soemthing like this

EVENT: A unit stops moving (u ordered a unit to move and then u want some action to take place after the unit stops

Actions:....
 
Level 14
Joined
Aug 31, 2009
Messages
775
You can use a periodic (yeah yeah, stress on system whatever) trigger that does
  • Set Tempgroup = (Units in (Playable Map Area) matching (Current Order of (Matching Unit) equal to Order(stop))
  • Unit Group - Pick every unit in Tempgroup and do (Actions)
    • Loop - Actions
      • Unit - Do stuff to (Picked Unit)
 
Status
Not open for further replies.
Top