Join 2 extracted animation sequences

Blitz3D Forums/Blitz3D Programming/Join 2 extracted animation sequences

ok, I've extract a few animation sequences, as

attack = ExtractAnimSeq( mesh1, 1, 30 )
threaten = ExtractAnimSeq( mesh1, 46, 64 )

And now I want to join them, having my character attack then threaten in the one loop, as

Agressive = attack + threaten ???


Any help?

You could use the "play anim once" flag and then test to see if the anim is still playing. When its not, start the next anim

Try extracting the whole sequence again

both = ExtractAnimSeq(mesh1,1,94)

Tom

What Tom suggests should work. I can't test this right now so I'm not 100% certain, but I think you can still call just attack or threaten after extracting both as a single sequence.

..and what about the bit between 31 and 45 which i don't want to animate?

Oops, I missed that. Then do what Big says, play one-shot animations and pay attention when one has stopped in order to start another.