The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:GUIUserKeyBinding (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT2003 Object >> GUI >> GUIUserKeyBinding
Package: 
XInterface
Direct subclass:
OGGKeyBinding
This class in other games:
UE2Runtime, UT2004

(C) 2002, Epic Games


The GUIUSerKeyBinding is a class tha allows mod authors to add keys to the control menu. It works as follows:

Mod authors subclass this actor in their package. They then need to add the following line to their .INT file

Object=(Class=class;MetaClass=Xinterface.GUIUserKeyBinding,Name=<classname>)

The controller config menu will preload all of these on startup and add them to it's list.

Alias is the actual alias you wish to bind. KeyLebel is the text description that will be displayed in the list bIzSection if set, will cause the menu to add it as a section label

Properties[edit]

KeyData[edit]

Type: array<KeyInfo>


Structs[edit]

KeyInfo[edit]

string Alias 
The Alias used for this binding
string KeyLabel 
The text label for this binding
bool bIsSection 
Is this a section label