Sequencing anim vs sound

Blitz3D Forums/Blitz3D Programming/Sequencing anim vs sound

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

think your making it harder than it is, simply do

if animseq(entity) = animation ;
if animtime(entity) = no ; frame number you want for sound
playsound clank1

endif
endif

also when extracting an animation sequence give it a handle , makes it easier to know whats what then .eg

walk = extractanimseq(animates, 1,15)