just play the avi, and say after ten seconds you have a one second window for the keypress then do this
fight=1:killed=2
load animation "fight.avi",1
load animation "killed.avi",2
play animation fight
t=timer()
t=timer+10000
t2=t+1000
repeat
if (timer()>t) and (timer()<t2) and inkey$()="f"
FightTheBadguy()<<<<<<<<<<<<<<<function that playes the fight sequence!!!
endif
until (animation playing(1)=0)
play animation killed
that would play the animation and allow the player to press a key that will only have any effect if the time is between 10 to 11 seconds into the animation, if like you say you have a stack of these animations that need to be proccesed than I would suggets you make an "engine" to run them and detect the appropriate keypresses, and have corresponding "inf" files for each animation that you can load, they could hold (for example)
time allowed until keypress
time allowed for keypress
name of file to pay if pressed in time
name of file to pay if you get killed
and any other information you could think of, hope thats some help, cheers.
Mentor.
PC1: P4 hyperthreading 3ghz, 1gig mem, 2x160gig hd`s, ATI radeon 9800 pro gfx, 6 way surround sound, PC2: AMD 1.2ghz, 512mb ram, FX5200 ultra gfx, stereo 16 bit soundblaster, ups.