The Trigger :
A spell can be made for an rpg, perticularly my Crescent Dyne RPG, which as you move 1 block, a folloing location will create a burrowed unit that is stacked, I will begin the stack on 1, and end the stack on 5, or however far this spell might activate torwards. After you have a row of following burrowed units, you run into 1 problem shown in this demonstration of your hero moving across a solid line back and forth.
QUOTE
_
1
_ _
1 2
_
_ _
1 2
(This one, your hero moves over the 2nd spawn location)
_
_ _ _
3 1 2
(You go ahead of your first position when the spell started, and form part 3)
_
_
_ _ _
3 1 2
_
_ _
_ _ _
3 1 2
_
_ _
_ _ _ _
3 1 2 4
(This is on step 7 of the sequence, and if recycled, would show your hero going from spot 1 -> 2 -> 3 -> 4, and would be jumpy)
To fix this problem, you may install safety triggers that simply reset or cancel the spell's memory if you try going over the same spot twice.
Applications :
-Warp Spell, warp back from your position, to the first position of the spell's start.
-Trail Spell/ Effect, use hallusinations to make a trail for a highspeed unit.
-Walk Spell, maybe spawns and kills darktemplars after all pieces of the trail are setup.
-Mobile Grid Lag/Spot Locations, In cooperation with mobile grid system, you can create enemys or a mobile spawn for a boss, or normally on the last piece of your path.