UE2:GameProfile (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
(Redirected from UE2:EPlayerPos (UT2004))
Jump to navigation Jump to search
UT2004 Object >> GameProfile
Package: 
Engine

null

Constants

NUM_POSITIONS

Value: 5


TEAM_SIZE

Value: 7


LINEUP_SIZE

Value: 4


NUM_LADDERS

Value: 6


Properties

Property group 'GameProfile'

BaseDifficulty

Type: float

configured at start of single player

Default value: 1.0

Deaths

Type: int


Difficulty

Type: float


Goals

Type: int


Kills

Type: int


ManifestIndex

Type: int


Matches

Type: int


PackageName

Type: string


Default value: "Default"

PlayerTeam

Type: array<string>

Player team members

Default value: "TeamName"

Wins

Type: int


Internal variables

bInLadderGame

Type: bool


bWonMatch

Type: bool


ChampBorderObject

Type: Object

Modifiers: transient


CurrentLadder

Type: int


CurrentMenuRung

Type: int

Modifiers: transient

set by menu system, used for starting a match, in LadderInfo. if -1, use next match in order

EnemyTeam

Type: string

Opponent team name for pending/current match

GameLadder

Type: class<LadderInfo>


GameLadderName

Type: string


Default value: "Engine.LadderInfo"

LadderRung

Type: int

Array size: 6


Default value, index 1: -1

Default value, index 2: -1

Default value, index 3: -1

Default value, index 4: -1

Default value, index 5: -1

NextMatchObject

Type: Object

Modifiers: transient

Used by GUI SP Pages for holding the Button for Next Match

PlayerCharacter

Type: string


Default value: "Roc"

PlayerLineup

Type: int

Array size: 4

Lineup for current match. Stores index into PlayerTeam array.

Default value, index 1: 1

Default value, index 2: 2

Default value, index 3: 3

PlayerName

Type: string


Default value: "Name"

PlayerPositions

Type: EPlayerPos

Array size: 7

only need positions for AI team, so 7 max

PositionName

Type: string

Array size: 5

Modifiers: localized

text names of these positions

Default value, index 0: "AUTO-ASSIGN"

Default value, index 1: "DEFENSE"

Default value, index 2: "OFFENSE"

Default value, index 3: "ROAM"

Default value, index 4: "SUPPORT"

SalaryCap

Type: int


SpecialEvent

Type: string


TeamName

Type: string

Player team name

TeamSymbolName

Type: string

name of team symbol

Enums

EPlayerPos

POS_Auto 
POS_Defense 
POS_Offense 
POS_Roam 
POS_Supporting 

Functions

Static functions

EnumPositionDescription

function static EPlayerPos EnumPositionDescription (string posnval)


GetNumPositions

function static int GetNumPositions ()


TextPositionDescription

function static string TextPositionDescription (int posnval)


Instance functions

AddTeammate

function bool AddTeammate (string botname)


CanChangeTeam

function bool CanChangeTeam (Controller Other, int NewTeam)


CheatJumpMatch

function CheatJumpMatch (GameInfo currentGame, int param)


CheatSkipMatch

function CheatSkipMatch (GameInfo CurrentGame)


ClearTeammates

function ClearTeammates ()


ContinueSinglePlayerGame

function ContinueSinglePlayerGame (LevelInfo level, optional bool bReplace)


FindFirstUnfinishedLadder

function int FindFirstUnfinishedLadder ()


GetMatchDescription

function string GetMatchDescription ()


GetMatchInfo

function MatchInfo GetMatchInfo (int ladder, int rung)


GetNumTeammatesForMatch

function int GetNumTeammatesForMatch ()


GetPositionDescription

function string GetPositionDescription (int playernum)


Initialize

function Initialize (GameInfo currentGame, string pn)


RegisterGame

function RegisterGame (GameInfo currentGame, PlayerReplicationInfo PRI)


ReleaseTeammate

function bool ReleaseTeammate (string botname)


ReportCheat

function ReportCheat (PlayerController Cheater, string cheat)


SetLineup

function SetLineup (int lineuppos, int teampos)


SetPosition

function SetPosition (int lineupnum, string posn)


StartNewMatch

function StartNewMatch (int PickedLadder, LevelInfo CurrentLevel)