home *** CD-ROM | disk | FTP | other *** search
/ PC Advisor 2006 January / PCA126_DVD.iso / TRIAL / FPSCreator / Files / scriptbank / people / strafebackward.fpi < prev    next >
Encoding:
Text File  |  2005-08-15  |  1.0 KB  |  43 lines

  1. ;Artificial Intelegence Script
  2.  
  3. ;Header
  4.  
  5. desc          = Strafe and Advance Shoot
  6.  
  7. ;Triggers
  8.  
  9. :state=0,ifweapon=0:state=8,setframe=6
  10. :plrcanbeseen:settarget,rotatetotarget,resethead
  11. :plrdistwithin=200:rotatetoplr,resethead
  12.  
  13. :state=0,random=20:state=9
  14. :state=0,shotdamage=1:rotatetoplr,state=7
  15. :state=0,ifweapon=1,plrcanbeseen:state=2
  16.  
  17. :state=1:incframe=3,strafe=-155,rotatetoplr
  18. :state=1,frameatend=3:state=0,animate=1
  19.  
  20. :state=5:useweapon,rundecal=6,state=0
  21. :state=4:state=5
  22. :state=3:state=4
  23. :state=2:state=3
  24.  
  25. :state=6:incframe=4,strafe=155,rotatetoplr
  26. :state=6,frameatend=4:state=0,animate=1
  27.  
  28. :state=7,random=1:state=6,setframe=4
  29. :state=7:state=1,setframe=3
  30.  
  31. :state=8:incframe=6
  32. :state=8,frameatend=6:state=0,reloadweapon,sound=audiobank\guns\reload.wav
  33.  
  34. :state=9,plrcannotbeseen:state=10
  35. :state=9:state=0
  36. :state=10,random=1:rotatetoplr,strafe=135
  37. :state=10,random=1:rotatetoplr,strafe=-135
  38. :state=10,random=1:rotatetoplr,strafe=-65
  39. :state=10,random=1:rotatetoplr,strafe=65
  40. :state=10:state=7
  41.  
  42. ;End of Script
  43.