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

Legacy:GUIButton

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

Properties

string Caption 
Label to put inside a button

Functions

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

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