My program doesn't have bugs. It just develops random features.
UE3:UTUIFrontEnd_WeaponPreference (UT3)
Object >> UIRoot >> UIScreenObject >> UIScene >> UTUIScene >> UTUIFrontEnd >> UTUIFrontEnd_WeaponPreference |
Contents
- 1 Properties
- 2 Delegates
- 3 Functions
- 3.1 Native functions
- 3.2 Events
- 3.3 Other instance functions
- 3.3.1 HandleInputKey
- 3.3.2 InitializeWeaponList
- 3.3.3 OnAccept
- 3.3.4 OnBack
- 3.3.5 OnButtonBar_Accept
- 3.3.6 OnButtonBar_Back
- 3.3.7 OnButtonBar_ResetToDefaults
- 3.3.8 OnButtonBar_ShiftDown
- 3.3.9 OnButtonBar_ShiftUp
- 3.3.10 OnResetToDefaults
- 3.3.11 OnShiftWeapon
- 3.3.12 OnWeaponList_RawInputKey
- 3.3.13 OnWeaponList_ValueChanged
- 3.3.14 SetupButtonBar
- Package:
- UTGame
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
UI scene that allows the user to set their weapon preferences.
Properties[edit]
Property group 'UTUIFrontEnd_WeaponPreference'[edit]
BaseWeaponHeight[edit]
Type: float
Weapon scale factor to use in 1024x768
Default value: 256.0
Internal variables[edit]
DescriptionLabel[edit]
Type: UILabel
Modifiers: transient
Description of the currently selected weapon.
DescriptionScroller[edit]
Type: UIScrollFrame
Modifiers: transient
scrollframe which contains the description label - allows the player to read long descriptions
DetailsLabel[edit]
Type: UILabel
Modifiers: transient
Label with the name of the currently selected weapon.
MenuDataStore[edit]
Type: UTUIDataStore_MenuItems
Modifiers: transient
Reference to the menu datastore
OldPriorities[edit]
default weapon priorities when entering the scene.
ShiftDownButton[edit]
Type: UIButton
Modifiers: transient
ShiftDownLabel[edit]
Type: UILabel
Modifiers: transient
ShiftUpButton[edit]
Type: UIButton
Modifiers: transient
Reference to the shift up and down buttons.
ShiftUpLabel[edit]
Type: UILabel
Modifiers: transient
Shift up/down label callouts.
WeaponClasses[edit]
Modifiers: transient
Weapon classes.
WeaponList[edit]
Type: UIList
Modifiers: transient
List of weapons.
WeaponMesh[edit]
Type: UTUIMeshWidget
Modifiers: transient
Weapon mesh widget.
Subobjects[edit]
SceneEventComponent[edit]
Class: Engine.UIComp_Event
Inherits from: UTUIFrontEnd.SceneEventComponent
No new values.
Delegates[edit]
MarkDirty[edit]
Functions[edit]
Native functions[edit]
LoadINIDefaults[edit]
Loads the default weapon priorities from the INI file.
Events[edit]
GetWeaponClass[edit]
Gets a priority for a weapon given its classname.
PostInitialize[edit]
Overrides: UTUIFrontEnd.PostInitialize
Post initialize callback.
SceneActivated[edit]
Overrides: UTUIFrontEnd.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.
Other instance functions[edit]
HandleInputKey[edit]
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.
InitializeWeaponList[edit]
Initializes the weapon list.
OnAccept[edit]
Callback for when the user has accepted their weapon preferences.
OnBack[edit]
Callback for when the user wants to back out of the scene.
OnButtonBar_Accept[edit]
OnButtonBar_Back[edit]
OnButtonBar_ResetToDefaults[edit]
OnButtonBar_ShiftDown[edit]
OnButtonBar_ShiftUp[edit]
Button bar callbacks.
OnResetToDefaults[edit]
Resets the weapon order to its defaults.
OnShiftWeapon[edit]
Shifts the currently selected weapon up or down in the weapon preference order.
OnWeaponList_RawInputKey[edit]
Callback for the mutator lists, captures the accept button before the mutators get to it.
OnWeaponList_ValueChanged[edit]
Updates the description and preview image for the currently selected weapon when the user changes the currently selected weapon.
SetupButtonBar[edit]
Overrides: UTUIFrontEnd.SetupButtonBar
Sets up the button bar for the parent scene.