Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:Bot (UT2004)

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

Bot.

Constants[edit]

MAXSTAKEOUTDIST[edit]

Value: 2000


ENEMYLOCATIONFUZZ[edit]

Value: 1200


TACTICALHEIGHTADVANTAGE[edit]

Value: 320


MINSTRAFEDIST[edit]

Value: 200


MINVIEWDIST[edit]

Value: 200


AngleConvert[edit]

Value: 0.0000958738

2*PI/65536

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: 'Defend'

Default value, index 13: 'Attack'

Default value, index 14: 'Attack'

Default value, index 15: 'Attack'

Default value, index 16: 'Follow'

Default value, index 17: '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'

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


DelayedWarning[edit]

event DelayedWarning ()

Overrides: Controller.DelayedWarning


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


MayDodgeToMoveTarget[edit]

event MayDodgeToMoveTarget ()

Overrides: Controller.MayDodgeToMoveTarget


MissedDodge[edit]

event MissedDodge ()

Overrides: Controller.MissedDodge


NotifyBump[edit]

event bool NotifyBump (Actor Other)

Overrides: Controller.NotifyBump


NotifyFallingHitWall[edit]

event NotifyFallingHitWall (Object.Vector HitNormal, Actor HitActor)

Overrides: Controller.NotifyFallingHitWall


NotifyHitWall[edit]

event bool NotifyHitWall (Object.Vector HitNormal, Actor Wall)

Overrides: Controller.NotifyHitWall


NotifyJumpApex[edit]

event NotifyJumpApex ()

Overrides: ScriptedController.NotifyJumpApex


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


NotifyPostLanded[edit]

event NotifyPostLanded ()

Overrides: Controller.NotifyPostLanded


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: Controller.PostBeginPlay


ReceiveWarning[edit]

event ReceiveWarning (Pawn shooter, float projSpeed, Object.Vector FireDir)

Overrides: Controller.ReceiveWarning


RecoverFromBadStateCode[edit]

event RecoverFromBadStateCode ()

Overrides: Actor.RecoverFromBadStateCode


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


SuperDesireability[edit]

event float SuperDesireability (Pickup P)

Overrides: Controller.SuperDesireability


Trigger[edit]

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: AIController.Trigger


Other instance functions[edit]

See Bot instance functions.

States[edit]

See Bot states.