• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Trigger] Spell, How to Detect Movement for GUI / Triggers

Status
Not open for further replies.
Level 11
Joined
Mar 27, 2011
Messages
293

Good morning, afternoon or evening,

I hope that you carefully read this message and thank you for your patience and kindness. Well, I'm unsure of how to detect if a unit is moving or not by GUI.
I want to create a spell based on whether the unit is moving or not, an example of such is the spell Rupture. Also, if you can help, send me a link, or show the triggers that can contribute (I can return the favor with reputation points).

Thanks!
 
Indexing and Order Checks would be better then a coordinates check.. Wouldn't it? I mean speed and lag-wise.

True, but it's not really very relevant. The actual looping takes more power than comparing 2 numbers(coordinates) instead of one(order).
Also, orders still have too many situations where they don't give an accurate result.
For instance, if you order a unit to attack another unit, then is the first unit moving? You can't know, since attack can apply to attackmoving, but also to standing and attacking.
 
Status
Not open for further replies.
Back
Top