Hi, here away to added text next to your limb, so it could show how much ammo is left for example.
Rem ***** Main Source File *****
sync
sync rate 60
autocam off
position camera 0,0,-5
rem make the objects
make object sphere 1,.1
make mesh from object 1,1
make object box 2,.1,2,.1
make mesh from object 2,2
delete object 2
make object sphere 2,.1
make mesh from object 3,2
delete object 2
rem add and link limbs
add limb 1,1,2
add limb 1,2,3
`link limb 1,0,1
`link limb 1,1,2
offset limb 1,1,0,1,0
offset limb 1,2,0,0,0
hide limb 1,1
rem make an object to show position of limb
MAKE OBJECT FROM LIMB 4,1,2,1
position object 4,LIMB POSITION x(1,2),LIMB POSITION Y(1,2),limb position z(1,2)
do
text 0,0,str$(GET LIMB BY NAME( 1, "part2" ))
text 0,10,str$(LIMB POSITION y(1,2))
text 0,20,str$(LIMB POSITION z(1,2))
text 0,30,str$(object screen x(4))
text 0,40,str$(object screen y(4))
text 0,50,str$(object angle z(1))
text 0,60,"up down keys to move object in out."
rem rotate object 1
rotate object 1,0,0,wrapvalue(object angle z(1)-1)
rem move limb 2 up or down limb 1
if upkey()=1
inc y#,.01
endif
if downkey()=1
dec y#,.01
endif
offset limb 1,2,0,y#,0
rem put object 4 at position of limb 2
position object 4,LIMB POSITION X(1,2),LIMB POSITION Y(1,2),0
hide object 4
rem put some text by it.
rows=1
center text object screen x(4)+(cos(wrapvalue(object angle z(1)+1)+90)*text height("T")*(1*rows)),object screen y(4)-(sin(wrapvalue(object angle z(1)-1)+90)*text height("T")*(1*rows)),"4"
`center text object screen x(4)+(cos(wrapvalue(object angle z(1)+1)+90)*text height("T")*(2*rows)),object screen y(4)-(sin(wrapvalue(object angle z(1)-1)+90)*text height("T")*(2*rows)),"14"
`center text object screen x(4)+(cos(wrapvalue(object angle z(1)+1)+90)*text height("T")*(3*rows)),object screen y(4)-(sin(wrapvalue(object angle z(1)-1)+90)*text height("T")*(3*rows)),"24"
sync
loop
Dark Physics makes any hot drink go cold.