| 10-22-2007, 10:04 AM | #1 |
Ok, i tried to type out a good sentence describing this so ill just ask this. This is my code: JASS:loop exitwhen loophigh == looplow set newloc = PolarProjectionBJ(newloc, 20, angle) call SetUnitPositionLoc(dummy, newloc) set looplow = looplow+1 call TriggerSleepAction(0.30) endloop |
| 10-22-2007, 10:35 AM | #2 | |
Quote:
I'm really not sure what the question is. 100 distance over what period of time . Also you are leaking locations with PolarProjectionBJ. You need to call RemoveLocation(newloc) after you use SetUnitPositionLoc. |
| 10-22-2007, 02:29 PM | #3 |
this is a terrible way to do it, since triggersleepaction is hell not accurate. u will get a laggy result. Use periodic event or timer is better. i recommend periodic event |
| 10-22-2007, 05:32 PM | #4 | |
Quote:
|
