The problem is with the sprite. When I remove either the HideSprite or PositionEntity command the compiled program works. The sprite produces a muzzle flare for a gun. Here's the code:
Global flare=LoadSprite ("fire.bmp",mesh)
ScaleSprite flare,.04,.04
PositionEntity flare,-.145,.018,-6.1
HideEntity flare
Do you see anything wrong with it?
Thanks
Global flare=LoadSprite ("fire.bmp",mesh)
ScaleSprite flare,.04,.04
PositionEntity flare,-.145,.018,-6.1
HideEntity flare
Do you see anything wrong with it?
Thanks