• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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