UE2:TeamInfo (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
UT2004 Object >> Actor >> Info >> ReplicationInfo >> TeamInfo
Package:
Engine
Direct subclass:
UnrealTeamInfo
This class in other games:

TeamInfo.

Properties

Property group 'TeamInfo'

DefaultPlayerClass

Type: class<Pawn>


Internal variables

AltTeamColor

Type: Object.Color


Default value:

Member Value
A 255
B 0
G 0
R 200

ColorNames

Type: string

Array size: 4

Modifiers: localized


Default value, index 0: "Red"

Default value, index 1: "Blue"

Default value, index 2: "Green"

Default value, index 3: "Gold"

HomeBase

Type: Actor

key objective associated with this team

Score

Type: float


Size

Type: int

number of players on this team in the level

TeamColor

Type: Object.Color


Default value:

Member Value
A 255
B 0
G 0
R 255

TeamIndex

Type: int


TeamName

Type: string

Modifiers: localized


Default value: "Team"

Default values

Property Value
NetUpdateFrequency 2.0

Functions

Static functions

GetAllCharacters

static function GetAllCharacters (out array<stringChars)


SetCharacters

static function SetCharacters (array<stringChars)


Instance functions

AddToTeam

function bool AddToTeam (Controller Other)


BelongsOnTeam

function bool BelongsOnTeam (class<PawnPawnClass)


GetHumanReadableName

simulated function string GetHumanReadableName ()

Overrides: Actor.GetHumanReadableName


RemoveFromTeam

function RemoveFromTeam (Controller Other)