Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE3:UTUIFrontEnd_TitleScreen (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 02:22, 26 July 2008 by Wormbo (Talk | contribs) (1 revision)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT3 Object >> UIRoot >> UIScreenObject >> UIScene >> UTUIScene >> UTUIFrontEnd_TitleScreen
Package: 
UTGame
This class in other games:
UDK

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

Title screen scene for UT3, handles attract mode launching.

Properties

Property group 'UTUIFrontEnd_TitleScreen'

MovieName

Type: string

Name of the attract mode movie.

TimeTillAttractMovie

Type: float

Amount of time until the attract movie starts.

Default value: 90.0

Internal variables

bInMovie

Type: bool

Whether or not we are in the attract mode movie.

bUpdatePlayersOnNextTick

Type: bool

Modifiers: transient

Flag to update the LP array on the next tick.

MainMenuScene

Type: string

Reference to the main menu scene.

Default value: "UI_Scenes_ChrisBLayout.Scenes.MainMenu"

TimeElapsed

Type: float

Amount of time elapsed since last user input.

Default values

Property Value
OnRawInputKey HandleInputKey

Subobjects

SceneEventComponent

Class: Engine.UIComp_Event

Inherits from: UTUIScene.SceneEventComponent

No new values.

Functions

Native functions

StartMovie

native function StartMovie ()

Starts the attract mode movie.

StopMovie

native function StopMovie ()

Stops the currently playing movie.

UpdateGamePlayersArray

native function UpdateGamePlayersArray ()

Creates a local player for every signed in controller.

UpdateMovieStatus

native function UpdateMovieStatus ()

Checks to see if a movie is done playing.

Events

GetNumLoggedInPlayers

event int GetNumLoggedInPlayers ()

Returns:

Returns the number of currently logged in controllers.

Initialized

event Initialized ()

Overrides: UIScreenObject.Initialized

Called once this screen object has been completely initialized, before it has called Initialize on its children.

PostInitialize

event PostInitialize ()

Overrides: UIScreenObject.PostInitialize

Post initialize event - Sets delegates for the scene.

SceneActivated

event SceneActivated (bool bInitialActivation)

Overrides: UIScene.SceneActivated

(Description copied from UIScene.SceneActivated)
Called just after the scene is added to the ActiveScenes array, or when this scene has become the active scene as a result of closing another scene.

Parameters:

  • bInitialActivation - TRUE if this is the first time this scene is being activated; FALSE if this scene has become active as a result of closing another scene or manually moving this scene in the stack.

SceneDeactivated

event SceneDeactivated ()

Overrides: UIScene.SceneDeactivated

Called just after this scene is removed from the active scenes array

UpdateProfileLabels

event UpdateProfileLabels ()

Updates the profile labels.

Other instance functions

CheckTitleSkip

function CheckTitleSkip ()

Checks to see if a frontend error message was set by the game before returning to the main menu, if so, we skip to the main menu and display the message.

CleanupOnlineDelegates

function CleanupOnlineDelegates ()

Cleans up any registered online delegates.

HandleInputKey

function bool HandleInputKey (const out UIRoot.InputEventParameters EventParms)

Provides a hook for unrealscript to respond to input using actual input key names (i.e. Left, Tab, etc.)

Called when an input key event is received which this widget responds to and is in the correct state to process. The keys and states widgets receive input for is managed through the UI editor's key binding dialog (F8).

This delegate is called BEFORE kismet is given a chance to process the input.

Parameters:

  • EventParms - information about the input event.

Returns:

TRUE to indicate that this input key was processed; no further processing will occur on this input key event.

OnLoginChange

function OnLoginChange ()

Called any time any player changes their current login status.

OnProfileReadComplete

function OnProfileReadComplete ()

Called when the profile read has completed for any player.

RegisterOnlineDelegates

function RegisterOnlineDelegates ()

Registers online delegates to catch global events such as login changes.

SetMainControllerId

function SetMainControllerId (int ControllerId)

Sets PlayerIndex 0's controller id to be the specified controller id, this makes it so that the specified controller can control all of the menus.