I heard that there is a JASS bug that will literally cause a spell to stop in it's tracks and go in another direction. It's supposedly an infamous bug, and I would like to reproduce it for a map. Does anyone know the code?
You heard wrong. If you want to accomplish this, you simple just have to create a local trigger in your function, and then create a function for it which does what you want, and at the end, just destroy the trigger.