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.
 
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.
 
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.
Back
Top