The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:Bot instance functions (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 Object >> Actor >> Controller >> AIController >> ScriptedController >> Bot (instance functions)

Contents

Bot instance functions in other games:
UT, UT2004
Other member categories for this class:
internal variables, states

Instance functions[edit]

AdjustAim[edit]

function Object.Rotator AdjustAim (Ammunition FiredAmmunition, Object.Vector projStart, int aimerror)

Overrides: ScriptedController.AdjustAim


AdjustAimError[edit]

function float AdjustAimError (float aimerror, float TargetDist, bool bDefendMelee, bool bInstantProj, bool bLeadTargetNow)


AdjustAround[edit]

function bool AdjustAround (Pawn Other)


AlternateTranslocDest[edit]

function Actor AlternateTranslocDest ()


AssignSquadResponsibility[edit]

function bool AssignSquadResponsibility ()


AutoTaunt[edit]

function bool AutoTaunt ()

Overrides: Controller.AutoTaunt


BotVoiceMessage[edit]

function BotVoiceMessage (name messagetype, byte MessageID, Controller Sender)

Overrides: Controller.BotVoiceMessage


CanAttack[edit]

function bool CanAttack (Actor Other)


CancelCampFor[edit]

function CancelCampFor (Controller C)


CanCombo[edit]

function bool CanCombo ()


CanComboMoving[edit]

function bool CanComboMoving ()


CanDoubleJump[edit]

function bool CanDoubleJump (Pawn Other)


CanImpactJump[edit]

function bool CanImpactJump ()


CanStakeOut[edit]

function bool CanStakeOut ()


CanUseTranslocator[edit]

function bool CanUseTranslocator ()


Celebrate[edit]

function Celebrate ()


ChangedWeapon[edit]

function ChangedWeapon ()

Overrides: Controller.ChangedWeapon


CheckFutureSight[edit]

function bool CheckFutureSight (float deltatime)

Overrides: Controller.CheckFutureSight


CheckIfShouldCrouch[edit]

function CheckIfShouldCrouch (Object.Vector StartPosition, Object.Vector TargetPosition, float probability)


CheckPathToGoalAround[edit]

function bool CheckPathToGoalAround (Pawn P)


ChooseAttackMode[edit]

function ChooseAttackMode ()


ClearPathFor[edit]

function ClearPathFor (Controller C)


ClearShot[edit]

function bool ClearShot (Object.Vector TargetLoc, bool bImmediateFire)


DamageAttitudeTo[edit]

function DamageAttitudeTo (Pawn Other, float Damage)

Overrides: Controller.damageAttitudeTo


DefendMelee[edit]

function bool DefendMelee (float Dist)


DirectedWander[edit]

function DirectedWander (Object.Vector WanderDir)


DisplayDebug[edit]

function DisplayDebug (Canvas Canvas, out float YL, out float YPos)

Overrides: AIController.DisplayDebug


DoCharge[edit]

function DoCharge ()


DontReuseTaunt[edit]

function bool DontReuseTaunt (int T)

Overrides: Controller.DontReuseTaunt


DoRangedAttackOn[edit]

function DoRangedAttackOn (Actor A)


DoRetreat[edit]

function DoRetreat ()


DoStakeOut[edit]

function DoStakeOut ()


DoTacticalMove[edit]

function DoTacticalMove ()


DoWaitForLanding[edit]

function bool DoWaitForLanding ()


EnemyChanged[edit]

function EnemyChanged (bool bNewEnemyVisible)


EnemyVisible[edit]

function bool EnemyVisible ()


ExecuteWhatToDoNext[edit]

function ExecuteWhatToDoNext ()


FaceActor[edit]

function Actor FaceActor (float StrafingModifier)


FaceMoveTarget[edit]

function Actor FaceMoveTarget ()


FearThisSpot[edit]

function FearThisSpot (AvoidMarker aSpot)

Overrides: Controller.FearThisSpot


FightEnemy[edit]

function FightEnemy (bool bCanCharge, float EnemyStrength)


FindBestPathToward[edit]

function bool FindBestPathToward (Actor A, bool bCheckedReach, bool bAllowDetour)


FindInventoryGoal[edit]

function bool FindInventoryGoal (float BestWeight)


FindRoamDest[edit]

function bool FindRoamDest ()


FireWeaponAt[edit]

function bool FireWeaponAt (Actor A)

Overrides: Controller.FireWeaponAt


Formation[edit]

function bool Formation ()


FreeScript[edit]

function FreeScript ()


GetDesiredOffset[edit]

function float GetDesiredOffset ()


GetEnemyName[edit]

function string GetEnemyName ()


GetMessageIndex[edit]

function byte GetMessageIndex (name PhraseName)

Overrides: Controller.GetMessageIndex


GetMyPlayer[edit]

function Pawn GetMyPlayer ()

Overrides: ScriptedController.GetMyPlayer


GetOldEnemyName[edit]

function string GetOldEnemyName ()


GetOrderObject[edit]

function Actor GetOrderObject ()

Overrides: AIController.GetOrderObject


GetOrders[edit]

function name GetOrders ()

Overrides: AIController.GetOrders


ImpactJump[edit]

function ImpactJump ()


InitializeSkill[edit]

function InitializeSkill (float InSkill)


InitPlayerReplicationInfo[edit]

function InitPlayerReplicationInfo ()

Overrides: Controller.InitPlayerReplicationInfo


IsHunting[edit]

function bool IsHunting ()


IsRetreating[edit]

function bool IsRetreating ()


IsSniping[edit]

function bool IsSniping ()


IsStrafing[edit]

function bool IsStrafing ()


LoseEnemy[edit]

function bool LoseEnemy ()


LostContact[edit]

function bool LostContact (float MaxTime)


NearWall[edit]

function bool NearWall (float walldist)


NeedToTurn[edit]

function bool NeedToTurn (Object.Vector targ)


NeedWeapon[edit]

function bool NeedWeapon ()


NotifyKilled[edit]

function NotifyKilled (Controller Killer, Controller Killed, Pawn KilledPawn)

Overrides: Controller.NotifyKilled


PickRetreatDestination[edit]

function bool PickRetreatDestination ()


Possess[edit]

function Possess (Pawn aPawn)

Overrides: Controller.Possess


PriorityObjective[edit]

function bool PriorityObjective ()

Overrides: AIController.PriorityObjective


ProficientWithWeapon[edit]

function bool ProficientWithWeapon ()


RateWeapon[edit]

simulated function float RateWeapon (Weapon w)

Overrides: Controller.RateWeapon


ReceiveWarning[edit]

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

Overrides: Controller.ReceiveWarning


RelativeStrength[edit]

function float RelativeStrength (Pawn Other)


ResetSkill[edit]

function ResetSkill ()


Restart[edit]

function Restart ()

Overrides: Controller.Restart


ScriptingOverridesAI[edit]

function bool ScriptingOverridesAI ()


SendMessage[edit]

function SendMessage (PlayerReplicationInfo Recipient, name MessageType, byte MessageID, float Wait, name BroadcastType)

Overrides: Controller.SendMessage


SetAlertness[edit]

function SetAlertness (float NewAlertness)


SetAttractionState[edit]

function SetAttractionState ()


SetCombatTimer[edit]

function SetCombatTimer ()


SetEnemyInfo[edit]

function SetEnemyInfo (bool bNewEnemyVisible)


SetEnemyReaction[edit]

function SetEnemyReaction (int AlertnessLevel)

Overrides: ScriptedController.SetEnemyReaction


SetFall[edit]

function SetFall ()

Overrides: Controller.SetFall


SetMaxDesiredSpeed[edit]

function SetMaxDesiredSpeed ()


SetNewScript[edit]

function SetNewScript (ScriptedSequence NewScript)

Overrides: ScriptedController.SetNewScript


SetOrders[edit]

function SetOrders (name NewOrders, Controller OrderGiver)

Overrides: AIController.SetOrders


SetPeripheralVision[edit]

function SetPeripheralVision ()


SetRouteToGoal[edit]

function bool SetRouteToGoal (Actor A)


ShouldPerformScript[edit]

function bool ShouldPerformScript ()


ShouldStrafeTo[edit]

function bool ShouldStrafeTo (Actor WayPoint)


Startle[edit]

function Startle (Actor Feared)

Overrides: AIController.Startle


StartMoveToward[edit]

function bool StartMoveToward (Actor O)


StopFiring[edit]

function StopFiring ()

Overrides: Controller.StopFiring


Stopped[edit]

function bool Stopped ()


StrafeFromDamage[edit]

function bool StrafeFromDamage (float Damage, class<DamageTypeDamageType, bool bFindDest)


TestDirection[edit]

function bool TestDirection (Object.Vector dir, out Object.Vector pick)


TimedFireWeaponAtEnemy[edit]

function TimedFireWeaponAtEnemy ()


TryCombo[edit]

function TryCombo (string ComboName)


TryToDuck[edit]

function bool TryToDuck (Object.Vector duckDir, bool bReversed)


UpdatePawnViewPitch[edit]

function UpdatePawnViewPitch ()


WaitForMover[edit]

function WaitForMover (Mover M)

Overrides: AIController.WaitForMover


WanderOrCamp[edit]

function WanderOrCamp (bool bMayCrouch)


WasKilledBy[edit]

function WasKilledBy (Controller Other)

Overrides: Controller.WasKilledBy


WeaponFireAgain[edit]

function bool WeaponFireAgain (float RefireRate, bool bFinishedFire)

Overrides: ScriptedController.WeaponFireAgain


WeaponPreference[edit]

function float WeaponPreference (Weapon W)

Overrides: Controller.WeaponPreference


WhatToDoNext[edit]

function WhatToDoNext (byte CallingByte)


YellAt[edit]

function YellAt (Pawn Moron)