Ok, so I have a gun, with effects, and the effect is the bullet, it is glued to the gun with glue object to limb.
I then am positioning the bullet after and it does all this just fine, TILL.
Till I shoot the bullet and unglue the object and then it positions itself to the left of the gun then moves, so it looks like the bullet is comming from the left side of the gun.
I'm confused on this one.
if shooting=0 and actions(players).player=1 then hide light 2:position light 2,object position x(34) , object position y(34),object position z(34):glue object to limb 34,207,12,2:position object 34,object position x(34)-0.2,object position y(34)+0.5,object position z(34)-0.8 :scale object 34,5,5,5:yrotate object 34,15:hide object 34
if actions(players).has_gun=0 and shootframe=695 and actions(players).player=1 and shootonce =0 and actions(players).energy>-1 then yrotate object 34,playerang:inc shooting,1 :shootonce =1
if actions(players).has_gun=1 and shootframe=740 and actions(players).player=1 and shootonce =0 and actions(players).energy>-1 then yrotate object 34,playerang:inc shooting,1 :shootonce =1
if shooting>1 then shooting=1
if shooting=1 then unglue object 34:scale object 34,40,40,40:show light 2:position light 2,object position x(34) , object position y(34),object position z(34):show object 34:move object 34,-1:inc shoottimer,1