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

UE2:WeaponPanel (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> UIHelper >> WeaponPanel
Package: 
U2
This class in other games:
U2

$Author: Mbaldwin $ $Date: 10/29/02 11:41p $ $Revision: 2 $ Name: WeaponPanel.uc Author: Mike Baldwin Date: 25 June 2001 Description: Used to store various needed UnrealScript functions for the UI. Notes: How to use this class:

Constants

ShowPanelEvent

Value: "ShowWeaponPanel"


HidePanelEvent

Value: "HideWeaponPanel"


ShowTrayEvent

Value: "ShowWeaponTray"


HideTrayEvent

Value: "HideWeaponTray"


AddAllEvent

Value: "AddAllWeapons"


RemoveAllEvent

Value: "RemoveAllWeapons"


HiliteAllEvent

Value: "HiliteAllWeapons"


UnHiliteAllEvent

Value: "UnHiliteAllWeapons"


AddPrefix

Value: "AddWeapon"


RemovePrefix

Value: "RemoveWeapon"


HilitePrefix

Value: "HiliteWeapon"


UnHilitePrefix

Value: "UnHiliteWeapon"


Sep

Value: "_"


UnknownID

Value: "??"


Properties

Property group 'WeaponPanel'

bShown

Type: bool

Is the weapon panel showing?

bTrayShown

Type: byte

Array size: 6

Is a particular weapon tray showing? (Hack: Inventory groups go 1..5)

TimeShownMax

Type: float

Max time before weapon panel hides itself

Default value: 3.0

Internal variables

TimeShown

Type: float

Modifiers: protected

Time that the weapon panel has been up

Functions

Events

Constructed

event Constructed ()

Overrides: Object.Constructed


Hide

event Hide ()


Show

event Show ()


Other instance functions

See WeaponPanel instance functions.