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

unit moving or not..

Status
Not open for further replies.
Level 5
Joined
Apr 16, 2005
Messages
135
hi.. is their or can anyone tell me how to check if a unit is moving or not..

coz.. in my map..
the heroes are ordered when they entered a region..

issued attack move to this point..

but in the middle.. lets say. the heroes gain a level.. and used bloodlust on them..

the order "attack-move" is gone.. so
they would be just on a hold position..
(standing and waiting for enemies to come near them..)

so.. i was thinking of having something to check if a unit is not moving then issue attack move to this region.. =p

anyone?.. =p pls help.. thnx advnce.. =p
 
Level 10
Joined
Aug 8, 2004
Messages
562
hmmmm, not to sure try experimenting with the "Stop" command cuz for my when a unit is not moving they are using the "Stop" action... WE is not available to me now... but you could try this:

Code:
Event-
Unit issued to Stop
Condition-
Unit Has *YOUR BUFF*
*(im not to clear on how you abil. works so you might ned to change condtion)
Actions-
Order triggering unit to Attack *WHERE EVER YOU WANT*
 
Level 5
Joined
Apr 16, 2005
Messages
135
well.. the buff and ability is the best one.. but the heroes got lots of abilities and their destinations are many too.. so.. it's too many work..

but so far.. that one worked..

but.. is there an easier one.. how bout jass..
a jass script.. then calls another script for the thing i want..
8D
 
Status
Not open for further replies.
Top