Hallo The Hendenpeter...of course you can have a model with all animations in it, but you should know how to manage with a 3D program....but if you take your models with just one animation...for example walking...and then you have other model running, you can append the second animation to your model...and even better...you can manipulate the object animation in order to get a different animation.
You can imagine the amount of animations that you could do.
Here you can find a little but complete code that can help you
greetings
autocam off
hide mouse
set ambient light 10
sync
rem we loaded our object
load object "idle.x",1
remstart
now we append to our object, de rest of animation of other objects
and we began the animation where the other object animation finishes
for example...all objects have 25 frames
our model has 25 frames (0 to 24)
second object animation will be (frame 25 to 49)
third object animation .... (frame 50 to 74)
and so on....we could put handreds of animation...ja ja ja
we must take care of not mistaking with frames ,otherwise the process will fail
if our object has 25 frames(0 to 24) and we append next animation "attack1.x",1,28
instead of "attack1.x",1,25 we´ll have a error saying keyframe does not exist
the correct way is for example :
0 to 24 25 to 49 50 to 74 75 to 99 and so on...
I suppose that now will be able to do the rest of the code putting your conditions
I hope that this example can help somebody
remend
append object "attack1.x",1,25
append object "move.x",1,50
color object 1,rgb(0,20,0)
loop object 1,5,24
rem establece nueva velocidad para el objeto
set object speed 1,3
position camera -2,1,-2
point camera 0,1,0
rem Activa sync manual
sync on
do
set cursor 5,5
print "JUST PRESS THE KEYS a , s d"
cont=cont+1
if cont> 5000
set cursor 5,400
PRINT "HOLD SPACEBAR PRESSED TO MANIPULATE MANUALLY THE ANIMATION"
endif
if inkey$()="a"
set object frame 1,0
loop object 1,0,24
endif
if inkey$()="s"
set object frame 1,25
loop object 1,25,49
endif
if inkey$()="d"
set object frame 1,50
loop object 1,55,75
endif
`WE CAN NOT ONLY PLAY OUR MODEL ANIMATION ...WE CAN AS WELL MANIPULATE IT
cron=cron+1
if cron>400 then cron=0
if cron<200 then rota#=rota#+0.1
if cron>200 then rota#=rota#-0.1
`ANIMATIONS OF LIMBS
`RIGHT ARM
if spacekey()
rotate limb 1,5,0,0,-rota#*4
rotate limb 1,6,0,0,-rota#*4
`LEFT ARM
rotate limb 1,8,0,0,rota#*4
rotate limb 1,9,0,0,rota#*4
`WAIST
rotate limb 1,2,-rota#,0,rota#
`LEFT LEG
rotate limb 1,14,rota#*3,0,0
rotate limb 1,15,-rota#*6,0,0
rotate limb 1,1,0,rota#,0
endif
sync
loop
oh my god