home *** CD-ROM | disk | FTP | other *** search
/ PC Advisor 2006 January / PCA126_DVD.iso / TRIAL / FPSCreator / Files / scriptbank / dooruse.fpi < prev    next >
Encoding:
Text File  |  2005-08-02  |  683 b   |  23 lines

  1. ;Artificial Intelligence Script
  2.  
  3. ;Header
  4.  
  5. desc          = Use Door (Push Open and Push Closed)
  6.  
  7. ;Triggers
  8.  
  9. :state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pressentertouse.tga,hudname=usedoorprompt,hudhide=1,hudmake=display,state=10
  10. :state=10,plrdistwithin=60:hudshow=usedoorprompt,hudfadeout=usedoorprompt
  11.  
  12. :state=10,plrdistwithin=60,plrusingaction=1:activate=2
  13. :state=10,activated=2:state=1,setframe=0,sound=$0
  14. :state=1:incframe=0
  15. :state=1,frameatend=0:state=2,coloff
  16. :state=2,plrdistwithin=60,plrusingaction=1:activate=0
  17. :state=2,activated=0:state=3,sound=$1,colon
  18. :state=3:decframe=0
  19. :state=3,frameatstart=0:state=10,setframe=0
  20.  
  21. ;End of Script
  22.  
  23.