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

Images

Status
Not open for further replies.
Level 37
Joined
Mar 6, 2006
Messages
9,243
Use a periodic timer. Store the current coordinates of the unit. During the next loop, compare the current coordinates of the unit to the stored coordinates. If they are the same, the unit is not moving.

Another method is to just check the current movement speed of the unit, but that can be unreliable if there is knockback systems involved for example.

About images: http://www.wc3c.net/showthread.php?t=107737
 
Level 26
Joined
Aug 18, 2009
Messages
4,097
There was no mention of a unit. What does mean "when you stay in a point"?.

Images have an own category in trigger actions. For getting the camera position, there are real functions Camera - Target X/Y/Z Of Current Camera or Camera - Source X/Y/Z Of Current Camera. That being said, the maps that you have seen maybe might not have used Images but flat 3d models via units/items/destructables/effects or ubersplats and more.

Also --> Help Zone
 
Status
Not open for further replies.
Top