673 posts Sunny Singapore, the lil' red dot joined
#1
weird moving problem
everytime i try casting a spell which moves a unit instantly to (target point of ability being cast), the unit gets transported to the middle of the map instead! anyone knows the problem?
Yes, that is why I love JASS. It gets you out of variable trouble into such situations... (Target Unit of Ability Being Cast), (Casting Unit) and many other such "variables" also reset after waits. Conclusion, in most cases its best to stick to (Triggering Unit) wheter you can (this one doesn't have to use waits), and if you really have to, use global variables. I will add this to the FAQ as well.