that means absolutely nothing
Keep in mind that if you don't want any leaks you must use two variables for points if you are using polar offsets. For example,
Then, of course, you must remove the locations with
- Set tempPoint1 = (Position of Unit)
- Set tempPoint2 = tempPoint1 offset by 20.00 towards (Facing of Unit - 180.00)
- Custom script: call RemoveLocation( udg_tempPoint1 )
- Custom script: call RemoveLocation( udg_tempPoint2 )
Custom script : call SetUnitX(myUnit, GetUnitX(myUnit) + speed * Cos(GetUnitFacing(myUnit) * bj_DEGTORAD + bj_PI))
Custom script : call SetUnitY(myUnit, GetUnitY(myUnit) + speed * Sin(GetUnitFacing(myUnit) * bj_DEGTORAD + bj_PI))