The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE3:UTEntryGame (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> Actor >> Info >> GameInfo >> UTGame >> UTDeathmatch >> UTTeamGame >> UTEntryGame
Package: 
UTGame
Direct subclasses:
UTCinematicGame, UTMissionSelectionGame
This class in other games:
UDK

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

Default values

Property Value
bExportMenuData False
ConsolePlayerControllerClass Class'UTGame.UTEntryPlayerController'
HUDType Class'UTGame.UTEntryHUD'
PlayerControllerClass Class'UTGame.UTEntryPlayerController'

Functions

Exec functions

AddBots

exec function AddBots (int num)

Overrides: UTGame.AddBots


Events

InitGame

event InitGame (string Options, out string ErrorMessage)

Overrides: UTTeamGame.InitGame


Other instance functions

NeedPlayers

function bool NeedPlayers ()

Overrides: UTGame.NeedPlayers


StartMatch

function StartMatch ()

Overrides: UTGame.StartMatch


States

PendingMatch

This state is used to change the flow of start/end match to handle arbitration

Basic flow of events: Server prepares to start the match and tells all clients to register arbitration Clients register with arbitration and tell the server when they are done Server checks for all clients to be registered and kicks any clients if they don't register in time. Server registers with arbitration and the match begins

Match ends and the server tells connected clients to write arbitrated stats Clients write stats and notifies server of completion Server writes stats and ends the match

Inherits from: UTGame.PendingMatch

Modifiers: auto

PendingMatch.BeginState

event BeginState (name PreviousStateName)

Overrides: UTGame.PendingMatch.BeginState

Called immediately when entering a state, while within the GotoState() call that caused the state change (before any state code is executed).

PendingMatch.EndState

event EndState (name NextStateName)

Overrides: UTGame.PendingMatch.EndState

Called immediately before going out of the current state, while within the GotoState() call that caused the state change, and before BeginState() is called within the new state.

PendingMatch.Timer

event Timer ()

Overrides: UTGame.PendingMatch.Timer


PendingMatch.RestartPlayer

function RestartPlayer (Controller aPlayer)

Overrides: UTGame.PendingMatch.RestartPlayer