home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 49 / PCPP49a.iso / editors / sofsdk / SoF SDK.msi / _09998C9F504A4026809AA16849B9AB6B < prev    next >
Encoding:
Text File  |  2000-03-27  |  733 b   |  29 lines

  1.  
  2.  
  3. #include "../common/header.ds"
  4.  
  5. output "p:/base/ds/tsr1"
  6.  
  7.  
  8. //////////////////////////////////////////////////////////////////////////
  9. // Enemy leans around corner near soda machine after token booth gate
  10. //////////////////////////////////////////////////////////////////////////
  11.  
  12. //enemy that leans
  13. local entity sodaleaner
  14.  
  15. //to target player
  16. local entity sneak
  17.  
  18.  
  19.  
  20. //enemy that leans
  21. sodaleaner = find entity with targetname "sodaleaner"
  22. sneak = find entity player
  23.  
  24.  
  25. //spawns leaner
  26. use entity sodaleaner 
  27. // this is him peeking around the corner firing
  28. animate entity sodaleaner performing action STD_FCORNERPEAK_RT_P_A targeting entity sneak 
  29. animate entity sodaleaner performing action SCRIPT_RELEASE