I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:WeaponPanel (U2)

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

$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[edit]

ShowPanelEvent[edit]

Value: "ShowWeaponPanel"


HidePanelEvent[edit]

Value: "HideWeaponPanel"


ShowTrayEvent[edit]

Value: "ShowWeaponTray"


HideTrayEvent[edit]

Value: "HideWeaponTray"


AddAllEvent[edit]

Value: "AddAllWeapons"


RemoveAllEvent[edit]

Value: "RemoveAllWeapons"


HiliteAllEvent[edit]

Value: "HiliteAllWeapons"


UnHiliteAllEvent[edit]

Value: "UnHiliteAllWeapons"


AddPrefix[edit]

Value: "AddWeapon"


RemovePrefix[edit]

Value: "RemoveWeapon"


HilitePrefix[edit]

Value: "HiliteWeapon"


UnHilitePrefix[edit]

Value: "UnHiliteWeapon"


Sep[edit]

Value: "_"


UnknownID[edit]

Value: "??"


Properties[edit]

Property group 'WeaponPanel'[edit]

bShown[edit]

Type: bool

Is the weapon panel showing?

bTrayShown[edit]

Type: byte

Array size: 6

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

TimeShownMax[edit]

Type: float

Max time before weapon panel hides itself

Default value: 3.0

Internal variables[edit]

TimeShown[edit]

Type: float

Time that the weapon panel has been up

Functions[edit]

Events[edit]

Constructed[edit]

event Constructed ()

Overrides: Object.Constructed


Hide[edit]

event Hide ()


Show[edit]

event Show ()


Other instance functions[edit]

See WeaponPanel instance functions.