I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

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[edit]

MAXSTAKEOUTDIST[edit]

Value: 2000


ENEMYLOCATIONFUZZ[edit]

Value: 1200


TACTICALHEIGHTADVANTAGE[edit]

Value: 320


MINSTRAFEDIST[edit]

Value: 200


MINVIEWDIST[edit]

Value: 200


Properties[edit]

Property group 'Bot'[edit]

OrderNames[edit]

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[edit]

See Bot internal variables.

Default values[edit]

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

Enums[edit]

EScriptFollow[edit]

FOLLOWSCRIPT_IgnoreAllStimuli 
FOLLOWSCRIPT_IgnoreEnemies 
FOLLOWSCRIPT_StayOnScript 
FOLLOWSCRIPT_LeaveScriptForCombat 

Functions[edit]

Events[edit]

AllowDetourTo[edit]

event bool AllowDetourTo (NavigationPoint N)

Overrides: Controller.AllowDetourTo


Desireability[edit]

event float Desireability (Pickup P)

Overrides: Controller.Desireability


Destroyed[edit]

event Destroyed ()

Overrides: Controller.Destroyed


HearNoise[edit]

event HearNoise (float Loudness, Actor NoiseMaker)

Overrides: Controller.HearNoise


NotifyBump[edit]

event bool NotifyBump (Actor Other)

Overrides: Controller.NotifyBump


NotifyLanded[edit]

event bool NotifyLanded (Object.Vector HitNormal)

Overrides: Controller.NotifyLanded


NotifyMissedJump[edit]

event NotifyMissedJump ()

Overrides: Controller.NotifyMissedJump


NotifyPhysicsVolumeChange[edit]

event bool NotifyPhysicsVolumeChange (PhysicsVolume NewVolume)

Overrides: Controller.NotifyPhysicsVolumeChange


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: Controller.PostBeginPlay


SeePlayer[edit]

event SeePlayer (Pawn SeenPlayer)

Overrides: Controller.SeePlayer


SetupSpecialPathAbilities[edit]

event SetupSpecialPathAbilities ()

Overrides: Controller.SetupSpecialPathAbilities


SoakStop[edit]

event SoakStop (string problem)

Overrides: Controller.SoakStop


Trigger[edit]

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: AIController.Trigger


Other instance functions[edit]

See Bot instance functions.

States[edit]

See Bot states.