Worst-case scenario: the UEd Goblin wipes the map and burns down your house.
UE2:GUIQuestionPage (UT2004)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIPage >> GUIQuestionPage |
Contents |
- Package:
- XInterface
- Direct subclass:
- GUI2K4QuestionPage
- This class in other games:
- UT2003
| This is an auto-generated page and may need human attention. Please remove this tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
null
[edit] Properties
[edit] ButtonNames
Modifiers: localized
Buttons Names: Ok, Cancel, Retry, Continue, Yes, No, Abort, Ignore. Clamped [0,7].
Default value, index 0: "Ok"
Default value, index 1: "Cancel"
Default value, index 2: "Retry"
Default value, index 3: "Continue"
Default value, index 4: "Yes"
Default value, index 5: "No"
Default value, index 6: "Abort"
Default value, index 7: "Ignore"
[edit] Buttons
[edit] CancelButton
Type: GUIButton
[edit] DefaultButton
Type: GUIButton
[edit] lMessage
Type: GUILabel
[edit] MessageIcon
Type: Material
Like Warning/Question/Exclamation
[edit] Default values
| Property | Value | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| BackgroundColor |
|
||||||||||
| BackgroundRStyle | MSTY_Alpha | ||||||||||
| bRenderWorld | True | ||||||||||
| bRequire640x480 | False | ||||||||||
| Controls[0] | GUIImage'imgBack' | ||||||||||
| Controls[1] | GUILabel'lblQuestion' | ||||||||||
| OnPreDraw | InternalOnPreDraw | ||||||||||
| WinHeight | 0.5 | ||||||||||
| WinTop | 0.25 |
[edit] Subobjects
[edit] imgBack
Class: XInterface.GUIImage
| Property | Value |
|---|---|
| bBoundToParent | True |
| bScaleToParent | True |
| Image | Material'InterfaceContent.Menu.SquareBoxA' |
| ImageStyle | ISTY_Stretched |
| WinHeight | 1.0 |
| WinTop | 0.0 |
| WinWidth | 1.0 |
[edit] lblQuestion
Class: XInterface.GUILabel
| Property | Value |
|---|---|
| bMultiLine | True |
| WinHeight | 0.4 |
| WinLeft | 0.1 |
| WinTop | 0.2 |
| WinWidth | 0.8 |
[edit] Delegates
[edit] NewOnButtonClick
[edit] OnButtonClick
delegate OnButtonClick (byte bButton)
[edit] Functions
[edit] Events
[edit] InitComponent
event InitComponent (GUIController pMyController, GUIComponent MyOwner)
Overrides: GUIPage.InitComponent
[edit] Other instance functions
[edit] AddButton
[edit] ButtonClick
function bool ButtonClick (GUIComponent Sender)
[edit] InternalOnPreDraw
[edit] LayoutButtons
function LayoutButtons (byte ActiveButton)
[edit] RemoveButtons
function RemoveButtons ()
[edit] Replace
[edit] SetupQuestion
function SetupQuestion (string Question, coerce byte bButtons, optional byte ActiveButton, optional bool bClearFirst)
