Maybe somebody has an idea cus I'm at a loss.
Weapon....
Beam = Spawn(lots of stuff here);
Beam.EndLocation = Pawn(Owner).Location;
Both Beam and Pawn(Owner).Location are ok and show up fine in logs, not to mention I can see the object spawn at the proper location.
Projectile...
var vector EndLocation;
Logging EndLocation gives None as a result. I am also trying to pass a float variable from the weapon to the ammo and get the same thing. On the weapon side everything is ok yet on the ammo side everything is None.
*Edit: Actually with that float variable, and this is the REALLY weird part. If I log(floatvariable) it returns 0. I know it's not 0 however. How do I know this? Because every tick I set scaleglow to be equal to floatvariable. If floatvariable was indeed 0 so would the scaleglow and the object would be invisible. It is not invisible. In fact it is the exact brightness it should be so I know the variable is being passed yet for some reason logging this variable returns nothing. Weird huh? Unfortunately the location really is passing none and not simply logging it incorrectly...
Weapon....
Beam = Spawn(lots of stuff here);
Beam.EndLocation = Pawn(Owner).Location;
Both Beam and Pawn(Owner).Location are ok and show up fine in logs, not to mention I can see the object spawn at the proper location.
Projectile...
var vector EndLocation;
Logging EndLocation gives None as a result. I am also trying to pass a float variable from the weapon to the ammo and get the same thing. On the weapon side everything is ok yet on the ammo side everything is None.
*Edit: Actually with that float variable, and this is the REALLY weird part. If I log(floatvariable) it returns 0. I know it's not 0 however. How do I know this? Because every tick I set scaleglow to be equal to floatvariable. If floatvariable was indeed 0 so would the scaleglow and the object would be invisible. It is not invisible. In fact it is the exact brightness it should be so I know the variable is being passed yet for some reason logging this variable returns nothing. Weird huh? Unfortunately the location really is passing none and not simply logging it incorrectly...
Last edited: