I know about leaks and such, and therefore I know this (should) leak:
Now, I know how to set it as a variable and later destroy it. But for my purpose I need to have the point constantly being generated to check if it is near the other point. Would the only way to go about this problem be to create a second periodic trigger to set the point every x seconds?
Code:
Else - Actions
Unit - Create 1 Spirit for (Owner of Skeleton) at SkelePos facing Default building facing degrees
Unit - Order (Last created unit) to Move To SkelePos2
Wait until ((Distance between SkelePos2 and [COLOR="Red"](Position of (Last created unit)[/COLOR])) Less than or equal to 100.00), checking every 0.10 seconds
Unit - Remove (Last created unit) from the game
Unit - Unpause Skeleton
Animation - Play Skeleton's birth animation
Now, I know how to set it as a variable and later destroy it. But for my purpose I need to have the point constantly being generated to check if it is near the other point. Would the only way to go about this problem be to create a second periodic trigger to set the point every x seconds?