i get an error at line 29 about linking limbs in sequence
what could i possibly be doing wrong?
Rem Project: Space Runner
Rem Created: Tuesday, October 12, 2010
Rem ***** Main Source File *****
rem load our Tutorial lvl (1)
load object "media\SpaceRunnerTut lvl.x",1
position object 1,0,0,0
rem Make our Camera
make camera 1
rem Make our Character (99)
make object sphere 99,10
position object 99,50,295,80
rem Lights
set ambient light 100
Rem Collision
make object sphere 98,.5
make mesh from object 99,98
make mesh from object 1,1
add limb 99,0,99
offset limb 99,0,px#,py#,pz#
add limb 1,1,1
offset limb 1,1,0,0,0
Do
rem Our Character's Position
px# = object position x(99)
py# = object position y(99)
pz# = object position z(99)
rem Move our Player
if KEYSTATE(32)=1 and limb collision (99,0,1,1)
move object right 99,1
position camera 1,px#,py#,pz# - 30
endif
Loop