Gah - a solution with more questions. – EntropicLqd

Legacy:GUIButton

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 :: Object >> GUI >> GUIComponent >> GUIButton

Properties[edit]

string Caption 
Label to put inside a button

Functions[edit]

InitComponent(GUIController MyController, GUIComponent MyOwner )
Sets InternalOnKeyEvent to handle Keyboard events, and InternalOnXControllerEvent to handle XBox events
bool InternalOnKeyEvent(out byte Key, out byte State, float delta )
Clicks Self if Enter is pressed, goes to next control on 0x026, or previous control on 0x028
bool InternalOnXControllerEvent(byte Id, eXControllerCodes iCode )
Clicks Self if the Start button is pressed on the XBox controller

Events[edit]

ButtonPressed( )
Called when button is pressed
ButtonReleased( )
Called when button is released