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

I need help creating a ability or trigger

Status
Not open for further replies.
Level 4
Joined
Oct 4, 2005
Messages
65
My wife suggested to create a "effect" so that when a demon walks, it would create foot prints in the ground. I know there is a effect prop under doodads that could do this. However I don't know the right ability that could create this effect.
 
Level 6
Joined
Jun 8, 2009
Messages
220
Maybe like
Event - A unit moves
Condition - Units = to (units name)
Action - Create 1 footprint at unit location
Wait 2 seconds
Remove last created special effect

Sorry I haven't been on WE and I'm traveling so that's the best I remember. I think that would leak and would require to have the unit on the map in the beginning of the game. I'll look at it in a few days when I get back from my trip. Good luck with your map.
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
You can create a periodic trigger that checks the x and y coordinates of unit(s) to check whether it's moving or not. If it is moving, then create a effect at the unit, offset it a bit to left or right. Keep track where the last effect was spawned, spawn the new one on the other side.

You can do this:
  • Create effect at...
  • Destroy last created special effect
The effect will stay there for a few seconds after it is destroyed, no wait required.
 
Status
Not open for further replies.
Top