UE3:UTUIFrontEnd_BotSelection (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
UT3 Object >> UIRoot >> UIScreenObject >> UIScene >> UTUIScene >> UTUIFrontEnd >> UTUIFrontEnd_BotSelection
Package:
UTGame

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

UI scene that allows the user to select which bots they want to play with.

Properties

AvailableList

Type: UIList

Modifiers: transient

List of available maps.

CharacterDataStore

Type: UTUIDataStore_CustomChar

Modifiers: transient

Reference to the customchar datastore

DescriptionLabel

Type: UILabel

Modifiers: transient

Label describing the currently selected mutator.

EnabledList

Type: UIList

Modifiers: transient

List of enabled maps.

LastFocused

Type: UIList

Modifiers: transient

The last focused UI List.

ListBackground_Available

Type: UIImage

Modifiers: transient


ListBackground_Enabled

Type: UIImage

Modifiers: transient


ShiftLeftImage

Type: UIImage

Modifiers: transient


ShiftRightImage

Type: UIImage

Modifiers: transient

Arrow images.

Subobjects

SceneEventComponent

Class: Engine.UIComp_Event

Inherits from: UTUIFrontEnd.SceneEventComponent

No new values.

Delegates

OnAcceptedBots

delegate OnAcceptedBots ()

Delegate or when the user accepts their current bot selection set.

Functions

Events

PostInitialize

event PostInitialize ()

Overrides: UTUIFrontEnd.PostInitialize

Post initialization event - Setup widget delegates.

Other instance functions

HandleInputKey

function bool HandleInputKey (const out UIRoot.InputEventParameters EventParms)

Overrides: UTUIFrontEnd.HandleInputKey

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.

LoadBotList

function LoadBotList ()

Loads the bot list from UTGame.default

OnAccept

function OnAccept ()

The user has finished setting up their cycle and wants to save changes.

OnAvailableList_SubmitSelection

function OnAvailableList_SubmitSelection (UIList Sender, optional int PlayerIndex)

Callback for when the user submits the selection on the available list.

OnAvailableList_ValueChanged

function OnAvailableList_ValueChanged (UIObject Sender, int PlayerIndex)

Callback for when the user selects a new item in the available list.

OnBack

function OnBack ()

The user wants to back out of the map cycle scene.

OnBotList_RawInputKey

function bool OnBotList_RawInputKey (const out UIRoot.InputEventParameters EventParms)

Callback for the bot lists, captures the accept button before the list gets to it.

OnBotListChanged

function OnBotListChanged ()

Called whenever one of the bot lists changes.

OnButtonBar_Accept

function bool OnButtonBar_Accept (UIScreenObject InButton, int PlayerIndex)

Buttonbar Callbacks.

OnButtonBar_Back

function bool OnButtonBar_Back (UIScreenObject InButton, int PlayerIndex)


OnButtonBar_ClearBots

function bool OnButtonBar_ClearBots (UIScreenObject InButton, int PlayerIndex)


OnButtonBar_MoveBot

function bool OnButtonBar_MoveBot (UIScreenObject InButton, int PlayerIndex)


OnClearBots

function OnClearBots ()

Clears the enabled bot list.

OnEnabledList_SubmitSelection

function OnEnabledList_SubmitSelection (UIList Sender, optional int PlayerIndex)

Callback for when the user submits the selection on the enabled list.

OnEnabledList_ValueChanged

function OnEnabledList_ValueChanged (UIObject Sender, int PlayerIndex)

Callback for when the user selects a new item in the enabled list.

OnList_NotifyActiveStateChanged

function OnList_NotifyActiveStateChanged (UIScreenObject Sender, int PlayerIndex, UIState NewlyActiveState, optional UIState PreviouslyActiveState)

Callback for when the object's active state changes.

OnMoveBot

function OnMoveBot ()

Callback for when the user tries to move a bot from one list to another.

OnSelectedBotChanged

function OnSelectedBotChanged ()

Updates widgets when the currently selected bot changes.

SaveBotList

function SaveBotList ()

Saves out the current list bot bot names to use to UTGame.default

SetupButtonBar

function SetupButtonBar ()

Overrides: UTUIFrontEnd.SetupButtonBar

Sets up the button bar for the parent scene.

UpdateDescriptionLabel

function UpdateDescriptionLabel ()

Updates the description label.