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

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