home *** CD-ROM | disk | FTP | other *** search
/ Game Level Design / GLDesign.bin / Software / UnrealEngine2Runtime / UE2Runtime-22262001_Demo.exe / Gameplay / Classes / Ambushpoint.uc < prev    next >
Text File  |  2003-12-11  |  859b  |  29 lines

  1. //=============================================================================
  2. // Ambushpoint.
  3. //=============================================================================
  4. class AmbushPoint extends NavigationPoint
  5.     notplaceable;
  6.  
  7. var vector lookdir; //direction to look while ambushing
  8. //at start, ambushing creatures will pick either their current location, or the location of
  9. //some ambushpoint belonging to their team
  10. var byte survivecount; //used when picking ambushpoint 
  11. var() float SightRadius; // How far bot at this point should look for enemies
  12. var() bool    bSniping;    // bots should snipe from this position
  13.  
  14. function PreBeginPlay()
  15. {
  16.     lookdir = 2000 * vector(Rotation);
  17.  
  18.     Super.PreBeginPlay();
  19. }
  20.  
  21. defaultproperties
  22. {
  23.     bObsolete=true
  24.      bDirectional=True
  25.      SoundVolume=128
  26.      SightRadius=+5000.0
  27.      bSniping=False
  28. }
  29.