Loc quirks?

uberfoop

~=Admiral Stukov=~
Reaction score
177
OK. So, I've had a lil problem with removing leaks when looping a location along a linear line via PolarProjectionBJ. in this code, a is the angle, l is a loc, and ll is a loc. this is all at the bottom of a loop. This thing works:
Code:
set ll = l
set l = PolarProjectionBJ(ll,20,a)

This thing works:
Code:
set ll = l
set l = PolarProjectionBJ(ll,20,a)
call RemoveLocation(ll)

But this thing here has no value of variable 'l' after it runs:
Code:
set ll = l
call RemoveLocation(l)
set l = PolarProjectionBJ(ll,20,a)
call RemoveLocation(ll)

Any explanation?

For now I'll just use the coordinate method.
 

uberfoop

~=Admiral Stukov=~
Reaction score
177
But that would destroy the polarily projected loc that I want to use later.

w/e. I'm prolly just gunna stick with trigonometry and coords. thx.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top