southpaw,
rem basic model viewer
sync on : sync rate 30
load object "yourmodelname.3DS",1
set object speed 1,100 `default object speed is 100. change it if you want it to run slower
modsize# = object size (1) `get the model's size
maxframes = total object frames(1) `get the total number of animation frames in the model
rem set the camera up based on model size
position camera 0.0,(modsize#*2.0),modsize#*(-4.0)
point camera 0.0,(modsize#/2.0),0.0
do
loop object 1,1,maxframes
rem control camera zoom and model rotation
if leftkey() then yrotate object 1,object angle y(1)-1.0 `rotate model left
if rightkey() then yrotate object 1,object angle y(1)+1.0 `rotate model right
if upkey() then move camera 0.1 `move camera forward
if downkey() then move camera -0.1 `move camera backward
rem show some data
set cursor 0,0
print "current object animation speed: ",int(object speed(1)) `added INT to make it an integer - just prettier that way.
print "current animation frame: ",object frame(1)
sync
loop
now please stop asking the same question over and over (posted same question once per day for the past 3 days).
good luck.
Virtual Nomad
AMD XP 1800+ (~1.6 Ghz) / 1.5 GB RAM
ATI Radeon 8700LE 128 MB / Windows XP