Tidied code a little; does exact same job but is bit neater
Rem Project: space ship thing
Rem Created: 19/08/2006 23:42:23
Rem ***** Main Source File *****
rem player
load object "media\models\scout2.x", 1
rotate limb 1,2,90,180,0
rem camera
make camera 1
rem camera hotspot
make object sphere 9998,5
make mesh from object 9999,9998
delete object 9998
add limb 1,3,9999
offset limb 1,3,0,60,-60
hide limb 1,3
rem sky box
load object "world\am.x",9999
set object 9999,1,0,0,0,0,0,0
scale object 9999,20,20,20
do
rem camera position
position camera 1, limb position x (1,3),limb position y (1,3),limb position z (1,3)
rotate camera 1,object angle x (1),object angle y (1),object angle z (1)
rem control ship
if spacekey()=1 then move object 1, 6
if keystate(17)=1 then pitch object up 1,2
if keystate(31)=1 then pitch object down 1,2
if keystate(30)=1 then turn object left 1,2
if keystate(32)=1 then turn object right 1,2
if keystate(16)=1 then roll object left 1,2
if keystate(18)=1 then roll object right 1,2
rem end game
if escapekey()=1 then end
sync
loop
hi