Possible problem....
You are updating your bullets with a FOR loop and you are requesting the variable after you have deleted it. Usualy you would have deleted it when it hits a target, but are still calling for it after the "Deleter x" part.
I find that using actual entities is a slow aproach to making bullets. Instead just use LinePick/CameraPick to instanly find the end location of the bullet. So in other words call....
pick=CameraPick(camera,GraphicsWidth()/2,GraphicsHeight()/2)
Your end locations will be found using PickedX(), PickedY(), and PickedZ(). Then use this to actualy place a bullet hole
Where "holes" is a blank pivot and "bullethole" is a small sprite of a bullet hole image.
You are updating your bullets with a FOR loop and you are requesting the variable after you have deleted it. Usualy you would have deleted it when it hits a target, but are still calling for it after the "Deleter x" part.
I find that using actual entities is a slow aproach to making bullets. Instead just use LinePick/CameraPick to instanly find the end location of the bullet. So in other words call....
pick=CameraPick(camera,GraphicsWidth()/2,GraphicsHeight()/2)
Your end locations will be found using PickedX(), PickedY(), and PickedZ(). Then use this to actualy place a bullet hole
hole=CopyEntity(bullethole,holes) PositionEntity hole,PickedX(),PickedY(),PickedZ(),True AlignToVector hole,-PickedNX(),-PickedNY(),-PickedNZ(),3 MoveEntity hole,0,0,-0.05 If CountChildren(holes)>200 Then FreeEntity GetChild(holes,1)
Where "holes" is a blank pivot and "bullethole" is a small sprite of a bullet hole image.