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

UE2:TeamInfo (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Info >> ReplicationInfo >> TeamInfo
Package: 
Engine
Direct subclass:
UnrealTeamInfo
This class in other games:
RTNP, U1, UT, U2, U2XMP, UE2Runtime, UT2003, UDK, UT3

TeamInfo.

Properties[edit]

Property group 'TeamInfo'[edit]

DefaultPlayerClass[edit]

Type: class<Pawn>


Internal variables[edit]

AltTeamColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 0
G 0
R 200

ColorNames[edit]

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[edit]

Type: Actor

key objective associated with this team

Score[edit]

Type: float


Size[edit]

Type: int

number of players on this team in the level

TeamColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 0
G 0
R 255

TeamIndex[edit]

Type: int


TeamName[edit]

Type: string

Modifiers: localized


Default value: "Team"

Default values[edit]

Property Value
NetUpdateFrequency 2.0

Functions[edit]

Static functions[edit]

GetAllCharacters[edit]

static function GetAllCharacters (out array<stringChars)


SetCharacters[edit]

static function SetCharacters (array<stringChars)


Instance functions[edit]

AddToTeam[edit]

function bool AddToTeam (Controller Other)


BelongsOnTeam[edit]

function bool BelongsOnTeam (class<PawnPawnClass)


GetHumanReadableName[edit]

simulated function string GetHumanReadableName ()

Overrides: Actor.GetHumanReadableName


RemoveFromTeam[edit]

function RemoveFromTeam (Controller Other)