Thanks, Bruce. I figured better to catch the animators here while you had them distracted with the clock.
Thanks Ross and Rolfy. Both your explanations clear things up and we have it working now. This is our first attempt at working with an animate object, and now that we have a better idea, Cathy will be making more of them.
The FPE contains the following:
;Animationinfo
animmax = 3
anim0 = 0,0
anim1 = 0,50
anim2 = 51,100
And the script:
;Artificial Intelligence Script
;Header
desc = Book of Dead
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\enteropenbook.png,hudname=openbook,hudhide=1,hudmake=display,state=1
;Open
:state=1,plrdistwithin=60:hudshow=openbook
:state=1,plrdistfurther=60:hudunshow=openbook
:state=1,scancodekeypressed=28:hudunshow=openbook,setframe=1,state=2
:state=2:incframe=1,state=3
:state=3,frameatend=1:setframe=2,state=4
:state=4,scancodekeypressed=28:incframe=2,state=5
:state=5,frameatend=2:state=1
;End of Script
So now the "open book hud" appears when the player is close enough to the book, press enter and the book opens. Press enter again will close the book.
I've added both your information to our notes for future reference. I knew it had to be the scripting side, but I was a bit unclear with the "incrframe/decframe" versus "animate=x".
Thanks again.

Twitter: @NFoxMedia