Mostly Harmless

UE2:Bot (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
Package: 
UnrealGame
Direct subclass:
XBot
This class in other games:
UT, UT2004

Bot.

Constants

MAXSTAKEOUTDIST

Value: 2000


ENEMYLOCATIONFUZZ

Value: 1200


TACTICALHEIGHTADVANTAGE

Value: 320


MINSTRAFEDIST

Value: 200


MINVIEWDIST

Value: 200


Properties

Property group 'Bot'

OrderNames

Type: name

Array size: 16


Default value, index 0: 'Defend'

Default value, index 1: 'Hold'

Default value, index 10: 'Attack'

Default value, index 11: 'Defend'

Default value, index 12: 'Attack'

Default value, index 13: 'Follow'

Default value, index 14: 'FreeLance'

Internal variables

See Bot internal variables.

Default values

Property Value
bIsPlayer True
FovAngle 85.0
OldMessageTime -100.0
PlayerReplicationInfoClass Class'UnrealGame.TeamPlayerReplicationInfo'
RemoteRole ROLE_None

Enums

EScriptFollow

FOLLOWSCRIPT_IgnoreAllStimuli 
FOLLOWSCRIPT_IgnoreEnemies 
FOLLOWSCRIPT_StayOnScript 
FOLLOWSCRIPT_LeaveScriptForCombat 

Functions

Events

AllowDetourTo

event bool AllowDetourTo (NavigationPoint N)

Overrides: Controller.AllowDetourTo


Desireability

event float Desireability (Pickup P)

Overrides: Controller.Desireability


Destroyed

event Destroyed ()

Overrides: Controller.Destroyed


HearNoise

event HearNoise (float Loudness, Actor NoiseMaker)

Overrides: Controller.HearNoise


NotifyBump

event bool NotifyBump (Actor Other)

Overrides: Controller.NotifyBump


NotifyLanded

event bool NotifyLanded (Object.Vector HitNormal)

Overrides: Controller.NotifyLanded


NotifyMissedJump

event NotifyMissedJump ()

Overrides: Controller.NotifyMissedJump


NotifyPhysicsVolumeChange

event bool NotifyPhysicsVolumeChange (PhysicsVolume NewVolume)

Overrides: Controller.NotifyPhysicsVolumeChange


PostBeginPlay

event PostBeginPlay ()

Overrides: Controller.PostBeginPlay


SeePlayer

event SeePlayer (Pawn SeenPlayer)

Overrides: Controller.SeePlayer


SetupSpecialPathAbilities

event SetupSpecialPathAbilities ()

Overrides: Controller.SetupSpecialPathAbilities


SoakStop

event SoakStop (string problem)

Overrides: Controller.SoakStop


Trigger

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: AIController.Trigger


Other instance functions

See Bot instance functions.

States

See Bot states.