Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE2:SquadAI instance functions (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Info >> ReplicationInfo >> SquadAI (instance functions)

Contents

SquadAI instance functions in other games:
UT2003

Instance functions

AddBot

function AddBot (Bot B)


AddEnemy

function bool AddEnemy (Pawn NewEnemy)


AddTransientCosts

function AddTransientCosts (Bot B, float f)


AllowDetourTo

function bool AllowDetourTo (Bot B, NavigationPoint N)


AllowImpactJumpBy

function bool AllowImpactJumpBy (Bot B)


AllowTaunt

function bool AllowTaunt (Bot B)


AllowTranslocationBy

function bool AllowTranslocationBy (Bot B)


AssessThreat

function float AssessThreat (Bot B, Pawn NewThreat, bool bThreatVisible)


AssignCombo

function AssignCombo (Bot B)


AssignSquadResponsibility

function bool AssignSquadResponsibility (Bot B)


BeDevious

function bool BeDevious ()


BotEnteredVehicle

function BotEnteredVehicle (Bot B)


BotSuitability

function float BotSuitability (Bot B)


CautiousAdvance

function bool CautiousAdvance (Bot B)


CheckSpecialVehicleObjectives

function bool CheckSpecialVehicleObjectives (Bot B)


CheckSquadObjectives

function bool CheckSquadObjectives (Bot B)


CheckVehicle

function bool CheckVehicle (Bot B)


ClearPathFor

function bool ClearPathFor (Controller C)


CloseToLeader

function bool CloseToLeader (Pawn P)


CriticalObjectiveWarning

function CriticalObjectiveWarning (Pawn NewEnemy)


DisplayDebug

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

Overrides: Actor.DisplayDebug


FindNewEnemyFor

function bool FindNewEnemyFor (Bot B, bool bSeeEnemy)


FindPathToObjective

function bool FindPathToObjective (Bot B, Actor O)


FormationCenter

function Actor FormationCenter ()


FriendlyToward

function bool FriendlyToward (Pawn Other)


GetFacingRotation

function Object.Rotator GetFacingRotation ()


GetKeyVehicle

function Vehicle GetKeyVehicle (Bot B)


GetLinkVehicle

function Vehicle GetLinkVehicle (Bot B)


GetOrders

function name GetOrders ()


GetOrderStringFor

simulated function string GetOrderStringFor (TeamPlayerReplicationInfo PRI)


GetRestingFormation

function RestingFormation GetRestingFormation ()


GetShortOrderStringFor

simulated function string GetShortOrderStringFor (TeamPlayerReplicationInfo PRI)


GetSize

function int GetSize ()


Initialize

function Initialize (UnrealTeamInfo T, GameObjective O, Controller C)


IsDefending

function bool IsDefending (Bot B)


IsOnSquad

function bool IsOnSquad (Controller C)


LostEnemy

function bool LostEnemy (Bot B)


MaxVehicleDist

function float MaxVehicleDist (Pawn P)


MergeEnemiesFrom

function bool MergeEnemiesFrom (SquadAI S)


MergeWith

function MergeWith (SquadAI S)


ModifyThreat

function float ModifyThreat (float current, Pawn NewThreat, bool bThreatVisible, Bot B)


MustKeepEnemy

function bool MustKeepEnemy (Pawn E)


NearFormationCenter

function bool NearFormationCenter (Pawn P)


NeverBail

function bool NeverBail (Pawn P)


NotifyKilled

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


OverrideFollowPlayer

function bool OverrideFollowPlayer (Bot B)


PickBotToReassign

function Bot PickBotToReassign ()


PickNewLeader

function PickNewLeader ()


PickRetreatDestination

function bool PickRetreatDestination (Bot B)


PriorityObjective

function byte PriorityObjective (Bot B)


RemoveBot

function RemoveBot (Bot B)


RemoveEnemy

function RemoveEnemy (Pawn E)


RemovePlayer

function RemovePlayer (PlayerController P)


Reset

function Reset ()

Overrides: Actor.Reset


Retask

function Retask (Bot B)


SetAlternatePath

function SetAlternatePath (bool bResetSquad)


SetDefenseScriptFor

function SetDefenseScriptFor (Bot B)


SetEnemy

function bool SetEnemy (Bot B, Pawn NewEnemy)


SetFacingActor

function Actor SetFacingActor (Bot B)


SetFinalStretch

function SetFinalStretch (bool bValue)


SetFreelanceScriptFor

function SetFreelanceScriptFor (Bot B)


SetLeader

function SetLeader (Controller C)


SetObjective

function SetObjective (GameObjective O, bool bForceUpdate)


ShouldDeferTo

function bool ShouldDeferTo (Controller C)


ShouldDestroyTranslocator

function bool ShouldDestroyTranslocator (Bot B)

Iterates over the linked list of TranslocatorBeacons rooted at UnrealMPGameInfo.BeaconList to find a Translocator target module for the bot to attack.

ShouldSuppressEnemy

function bool ShouldSuppressEnemy (Bot B)


SwitchBots

function SwitchBots (Bot MyBot, Bot OtherBot)


TellBotToFollow

function bool TellBotToFollow (Bot B, Controller C)


TryToIntercept

function bool TryToIntercept (Bot B, Pawn P, Actor RouteGoal)


UnderFire

function bool UnderFire (Pawn NewThreat, Bot Ignored)


ValidEnemy

function bool ValidEnemy (Pawn NewEnemy)


VehicleDesireability

function float VehicleDesireability (Vehicle V, Bot B)


WaitAtThisPosition

function bool WaitAtThisPosition (Pawn P)


WanderNearLeader

function bool WanderNearLeader (Bot B)