Mostly Harmless

UE2:SquadAI (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Info >> ReplicationInfo >> SquadAI
Package: 
UnrealGame
Direct subclasses:
AssaultSquadAI, BombingRunSquadAI, CTFSquadAI, DMSquad, DOMSquadAI, InvasionSquad, ONSSquadAI
This class in other games:
UT2003

SquadAI. operational AI control for TeamGame

Properties[edit]

AlternatePath[edit]

Type: AssaultPath

path to use for attacking base

AlternatePathTag[edit]

Type: name


AttackString[edit]

Type: string

Modifiers: localized


Default value: "attacking"

bAddTransientCosts[edit]

Type: bool


bFreelance[edit]

Type: bool


bFreelanceAttack[edit]

Type: bool


bFreelanceDefend[edit]

Type: bool


bRoamingSquad[edit]

Type: bool


Default value: True

CurrentOrders[edit]

Type: name


DefendString[edit]

Type: string

Modifiers: localized


Default value: "defending"

Enemies[edit]

Type: Pawn

Array size: 8


FreelanceScripts[edit]

Type: UnrealScriptedSequence


FreelanceString[edit]

Type: string

Modifiers: localized


Default value: "Sweeper"

GatherThreshold[edit]

Type: float


Default value: 0.6

HoldString[edit]

Type: string

Modifiers: localized


Default value: "holding"

LeaderPRI[edit]

Type: TeamPlayerReplicationInfo


MaxSquadSize[edit]

Type: int


Default value: 2

NextSquad[edit]

Type: SquadAI

list of squads on a team

RestingFormation[edit]

Type: RestingFormation


RestingFormationClass[edit]

Type: class<RestingFormation>


Default value: Class'UnrealGame.RestingFormation'

Size[edit]

Type: int


SquadLeader[edit]

Type: Controller


SquadMembers[edit]

Type: Bot


SquadObjective[edit]

Type: GameObjective


SupportString[edit]

Type: string

Modifiers: localized


Default value: "supporting"

SupportStringTrailer[edit]

Type: string

Modifiers: localized


Team[edit]

Type: UnrealTeamInfo


Default values[edit]

Property Value
NetUpdateFrequency 1.0

Functions[edit]

Events[edit]

Destroyed[edit]

event Destroyed ()

Overrides: Actor.Destroyed


Other instance functions[edit]

See SquadAI instance functions.

States[edit]

Retasking[edit]

Retasking.Tick[edit]

event Tick (float DeltaTime)

Overrides: Actor.Tick (global)