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

UE3:UTTeamAI (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 11:47, 6 November 2009 by (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UDK Object >> Actor >> Info >> UTTeamAI
Package: 
UTGame
Direct subclass:
UTCTFTeamAI
This class in other games:
UT3


Properties

AttackSquad

Type: UTSquadAI


bFoundSuperItems

Type: bool


EnemyTeam

Type: UTTeamInfo


FreelanceSquad

Type: UTSquadAI


ImportantVehicleFactories

Type: array<UTVehicleFactory>


NumSuperPickups

Type: int


NumSupportingPlayer

Type: int


Objectives

Type: UTGameObjective

list of objectives to be defended or attacked by this team

OrderList

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

Type: int


PickedObjective

Type: UTGameObjective

objective that was picked from a list of equal priority objectives

PickedStandaloneObjective

Type: UTGameObjective

objective that was picked from a list of equal priority objectives

Squads

Type: UTSquadAI


SquadType

Type: class<UTSquadAI>


Default value: Class'UTGame.UTSquadAI'

SuperPickups

Type: UTPickupFactory

Array size: 16


Team

Type: UTTeamInfo


Default values

Property Value
CollisionType COLLIDE_CustomDefault

Functions

Native functions

GetTeamNum

simulated native function byte GetTeamNum ()

Overrides: Actor.GetTeamNum


Events

PostBeginPlay

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Reset

event Reset ()

Overrides: Actor.Reset


Timer

event Timer ()

Overrides: Actor.Timer


Other instance functions

AddHumanSquad

function UTSquadAI AddHumanSquad ()


AddSquadWithLeader

function UTSquadAI AddSquadWithLeader (Controller C, UTGameObjective O)


CallForHelp

function CallForHelp (UTBot B)


ClearEnemies

function ClearEnemies ()


CriticalObjectiveWarning

function CriticalObjectiveWarning (UTGameObjective G, Pawn NewEnemy)


FindHumanSquad

function UTSquadAI FindHumanSquad ()


FindNewObjectiveFor

function FindNewObjectiveFor (UTSquadAI S, bool bForceUpdate)


FindNewObjectives

function FindNewObjectives (UTGameObjective DisabledObjective)


FindSquadOf

function UTSquadAI FindSquadOf (Controller C)


FindSuperItems

function FindSuperItems ()

finds all the static super pickups/vehicle factories/etc in the level and registers them for fast lookup

FriendlyToward

function bool FriendlyToward (Pawn Other)


GetLeastDefendedObjective

function UTGameObjective GetLeastDefendedObjective (Controller InController)


GetPriorityAttackObjectiveFor

function UTGameObjective GetPriorityAttackObjectiveFor (UTSquadAI InAttackSquad, Controller InController)


GetPriorityFreelanceObjectiveFor

function UTGameObjective GetPriorityFreelanceObjectiveFor (UTSquadAI InFreelanceSquad)


GetPriorityStandaloneObjectiveFor

function UTGameObjective GetPriorityStandaloneObjectiveFor (UTSquadAI InAttackSquad, Controller InController)


GetSquadLedBy

function UTSquadAI GetSquadLedBy (Controller C)


NotifyKilled

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


PutBotOnSquadLedBy

function PutBotOnSquadLedBy (Controller C, UTBot B)


PutOnDefense

function bool PutOnDefense (UTBot B)


PutOnFreelance

function PutOnFreelance (UTBot B)


PutOnOffense

function PutOnOffense (UTBot B)


ReAssessStrategy

function ReAssessStrategy ()


RemoveFromTeam

function RemoveFromTeam (Controller Other)


RemoveSquad

function RemoveSquad (UTSquadAI Squad)


SetBotOrders

function SetBotOrders (UTBot NewBot)


SetObjectiveLists

function SetObjectiveLists ()


SetOrders

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