home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Level Design
/
GLDesign.bin
/
Software
/
UnrealEngine2Runtime
/
UE2Runtime-22262001_Demo.exe
/
Gameplay
/
Classes
/
Ambushpoint.uc
< prev
next >
Wrap
Text File
|
2003-12-11
|
859b
|
29 lines
//=============================================================================
// Ambushpoint.
//=============================================================================
class AmbushPoint extends NavigationPoint
notplaceable;
var vector lookdir; //direction to look while ambushing
//at start, ambushing creatures will pick either their current location, or the location of
//some ambushpoint belonging to their team
var byte survivecount; //used when picking ambushpoint
var() float SightRadius; // How far bot at this point should look for enemies
var() bool bSniping; // bots should snipe from this position
function PreBeginPlay()
{
lookdir = 2000 * vector(Rotation);
Super.PreBeginPlay();
}
defaultproperties
{
bObsolete=true
bDirectional=True
SoundVolume=128
SightRadius=+5000.0
bSniping=False
}