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

UE2:TeamAI (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 Object >> Actor >> Info >> TeamAI
Package: 
UnrealGame
Direct subclasses:
BombingRunTeamAI, CTFTeamAI, DOMTeamAI, InvasionTeamAI
This class in other games:
UT2004

TeamAI. strategic team AI control for TeamGame

Properties[edit]

AttackSquad[edit]

Type: SquadAI


EnemyTeam[edit]

Type: UnrealTeamInfo


FreelanceSquad[edit]

Type: SquadAI


NumSupportingPlayer[edit]

Type: int


Objectives[edit]

Type: GameObjective

list of objectives to be defended or attacked by this team

OrderList[edit]

Type: name

Array size: 8


Default value, index 0: 'FOLLOW'

Default value, index 1: 'ATTACK'

Default value, index 2: 'DEFEND'

Default value, index 3: 'FREELANCE'

Default value, index 4: 'FOLLOW'

Default value, index 5: 'ATTACK'

Default value, index 6: 'DEFEND'

Default value, index 7: 'FREELANCE'

OrderOffset[edit]

Type: int


PickedObjective[edit]

Type: GameObjective

objective that was picked from a list of equal priority objectives

Squads[edit]

Type: SquadAI


SquadType[edit]

Type: class<SquadAI>


Default value: Class'UnrealGame.SquadAI'

Team[edit]

Type: UnrealTeamInfo


Functions[edit]

Events[edit]

PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Timer[edit]

event Timer ()

Overrides: Actor.Timer


Other instance functions[edit]

AddHumanSquad[edit]

function SquadAI AddHumanSquad ()


AddSquadWithLeader[edit]

function SquadAI AddSquadWithLeader (Controller C, GameObjective O)


CallForHelp[edit]

function CallForHelp (Bot B)


ClearEnemies[edit]

function ClearEnemies ()


FindHumanSquad[edit]

function SquadAI FindHumanSquad ()


FindNewObjectiveFor[edit]

function FindNewObjectiveFor (SquadAI S, bool bForceUpdate)


FindNewObjectives[edit]

function FindNewObjectives (GameObjective DisabledObjective)


FindSquadOf[edit]

function SquadAI FindSquadOf (Controller C)


FriendlyToward[edit]

function bool FriendlyToward (Pawn Other)


GetLeastDefendedObjective[edit]

function GameObjective GetLeastDefendedObjective ()


GetMostDefendedObjective[edit]

function GameObjective GetMostDefendedObjective ()


GetPriorityAttackObjective[edit]

function GameObjective GetPriorityAttackObjective ()


GetPriorityFreelanceObjective[edit]

function GameObjective GetPriorityFreelanceObjective ()


GetSquadLedBy[edit]

function SquadAI GetSquadLedBy (Controller C)


NotifyKilled[edit]

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


OnThisTeam[edit]

function bool OnThisTeam (Pawn Other)


PutBotOnSquadLedBy[edit]

function PutBotOnSquadLedBy (Controller C, Bot B)


PutOnDefense[edit]

function bool PutOnDefense (Bot B)


PutOnFreelance[edit]

function PutOnFreelance (Bot B)


PutOnOffense[edit]

function PutOnOffense (Bot B)


ReAssessStrategy[edit]

function ReAssessStrategy ()


RemoveFromTeam[edit]

function RemoveFromTeam (Controller Other)


RemoveSquad[edit]

function RemoveSquad (SquadAI Squad)


SetBotOrders[edit]

function SetBotOrders (Bot NewBot, RosterEntry R)


SetObjectiveLists[edit]

function SetObjectiveLists ()


SetOrders[edit]

function SetOrders (Bot B, name NewOrders, Controller OrderGiver)