Your script works fine as long a You get the 25 points.. But when You are to late with the syringe, Lucy4.ogg shourld be played but instead Lucy1.ogg is played.. But I have fixed all bugs and cleaned the script, for example the "Cardiac arrest" text now only shows when close to Lucy. I solved that by moving the text from state=4 to state=5. I courld see that You removed the text as well, but I do want the text in the game... I do have one problem though, I want to use "subvar=hpcounter 15" when You are to late with the syringe, but no matter where I put it I get problem.. I have tried to put it in the Timer-script and I have tried to put it in Lucyfollow-script, How can I remove 15 points without a bug showing up?
:waypointstate=0:state=1,animate=2,waypointstart
:waypointstate=3:animate=2,waypointnext
:waypointstate=4:animate=2,waypointrandom
:waypointstate=5:animate=2,waypointreverse
:state=0:state=1
:state=1,plrdistwithin=100:waypointstop,animate=4,rotatetoplr,sound=audiobank\dialog\Lucy1.ogg,etimerstart,state=2
:state=2:fpgcrawtextsize=32,fpgcrawtextfont=Arial,fpgcrawtextr=255,fpgcrawtextg=255,fpgcrawtextb=255,fpgcrawtextx=50,fpgcrawtexty=80
:state=2:fpgcrawtext=Hi Walter! Weisman is expecting You...
:state=2,etimergreater=3000:fpgcrawtextoff,state=3
:state=3,plrdistfurther=100:waypointstate=0,state=1,animate=2,waypointstart
:activated=2:waypointstop,resetmarkers,rotatetoplr,followplr,animate=2,setanimatespeed=100,state=4
:state=4,plrdistwithin=75:animate=1,setanimatespeed=0,state=5,freeze
:state=4:sound=audiobank\dialog\Lucy2.ogg
:state=4,vargreater=hpcounter 75:stopsound,hudreset,state=6
:state=4,varless=timecounter 1:state=8
:state=5:fpgcrawtextsize=32,fpgcrawtextfont=Arial,fpgcrawtextr=255,fpgcrawtextg=255,fpgcrawtextb=255,fpgcrawtextx=50,fpgcrawtexty=80
:state=5,plrdistwithin=75:fpgcrawtext=Cardiac arrest! We need adrenaline fast...
:state=5,varless=timecounter 10:fpgcrawtextoff
:state=5,animate=1,plrdistfurther=100:fpgcrawtextoff
:state=6:waypointstop,resetmarkers,rotatetoplr,animate=2,setanimatespeed=0,state=7
:state=7,plrdistwithin=75:animate=1,setanimatespeed=0,freeze
:state=7:sound=audiobank\dialog\Lucy3.ogg
:state=8,varless=hpcounter 75:stopsound,hudreset
:state=8:waypointstop,resetmarkers,rotatetoplr,animate=2,setanimatespeed=0,state=9
:state=9,plrdistwithin=75:animate=1,setanimatespeed=0,freeze
:state=9:sound=audiobank\dialog\Lucy4.ogg