• 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.

Condition: Unit Is Moving

Status
Not open for further replies.
Level 8
Joined
Sep 7, 2008
Messages
320
Hi, I need a help with a GUI condition.

This is my trigger:
  • Events:
    • Time - Every 0.10 seconds
  • Conditions:
    • (Current order) of (MyUnit) equal to (order(move))
  • Actions:
    • Some stuff
But it doesn't work.
I need some other condition that the one I used.
Can anyone help me with this?

1. Save unit's location
2. Wait 0.1
3. Compare current with saved location at 1
 

Deleted member 177737

D

Deleted member 177737

This should work as long as you type in the right order and have the variable set to a unit somewhere else:

  • Untitled Trigger 001
    • Events
      • Time - Every 0.10 seconds of game time
    • Conditions
      • (Current order of UnitVariable) Equal to (Order(stop))
    • Actions
 
Level 8
Joined
Sep 7, 2008
Messages
320
Hi, I need a help with a GUI condition.

This is my trigger:
  • Events:
    • Time - Every 0.10 seconds
  • Conditions:
    • (Current order) of (MyUnit) equal to (order(move))
  • Actions:
    • Some stuff
But it doesn't work.
I need some other condition that the one I used.
Can anyone help me with this?

You should install EGUI, EGUI is a vjass/jass script. However, you use it as GUI script.

1. http://www.mediafire.com/?wmz4khqxmtm
2. Create UI folder in Warcraft folder
3. Put all file in that zip to UI folder
4. Open EGUI.w3x then Copy Category EGUI to your map
5. Close JNG
6. Add action
  • Events:
    • XXXXX
  • Conditions:
    • XXXXX
  • Actions:
    • EGUI Unit - Allow (Triggering unit) to be tracked for movement
 
Status
Not open for further replies.
Top