I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE2:UT2K4SP_Injury (UT2004)

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Package: 
GUI2K4

Notification of a team mate injury

Written by Michiel Hendriks (c) 2003, 2004, Epic Games, Inc. All Rights Reserved

Properties[edit]

btnCancel[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'SPMbtnCancel'

btnTreat[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'SPMbtnTreat'

GP[edit]

Type: UT2K4GameProfile


imgPicture[edit]

Type: GUIImage

Modifiers: automated


Default value: GUIImage'SPMimgPicture'

imgPictureBg[edit]

Type: GUIImage

Modifiers: automated


Default value: GUIImage'SPMimgPictureBg'

InjuredPlayer[edit]

Type: int

the offset in the GameProfile's botstats array, set in HandleParameters

lblMessage[edit]

Type: GUILabel

Modifiers: automated


Default value: GUILabel'SPLlblMessage'

lblTitle[edit]

Type: GUILabel

Modifiers: automated


Default value: GUILabel'SPLlblTitle'

TreatmentCost[edit]

Type: int

price to heal the injured player

Default values[edit]

Property Value
DefaultHeight 0.7
DefaultLeft 0.15
DefaultTop 0.15
DefaultWidth 0.7
WinHeight 0.7
WinLeft 0.15
WinTop 0.15
WinWidth 0.7

Subobjects[edit]

SPLlblMessage[edit]

Class: XInterface.GUILabel

Property Value
bBoundToParent True
bMultiLine True
Caption %player%'s health is down to %health%%, treatment of the injuries costs %treatment%.|Balance: %balance%."
RenderWeight 0.4
StyleName "TextLabel"
WinHeight 0.39125
WinLeft 0.3725
WinTop 0.176667
WinWidth 0.373749

SPLlblTitle[edit]

Class: XInterface.GUILabel

Property Value
bBoundToParent True
Caption "Injury"
FontScale FNS_Large
RenderWeight 0.4
StyleName "TextLabel"
TextAlign TXTA_Center
WinHeight 0.0725
WinLeft 0.02875
WinTop 0.051667
WinWidth 0.66125

SPMbtnCancel[edit]

Class: XInterface.GUIButton

Property Value
bBoundToParent True
Caption "CANCEL"
FontScale FNS_Small
OnClick btnCancelOnClick
WinHeight 0.04
WinLeft 0.051563
WinTop 0.857292
WinWidth 0.2

SPMbtnTreat[edit]

Class: XInterface.GUIButton

Property Value
bBoundToParent True
Caption "TREAT NOW"
FontScale FNS_Small
OnClick btnTreatOnClick
WinHeight 0.04
WinLeft 0.664063
WinTop 0.857292
WinWidth 0.2

SPMimgPicture[edit]

Class: XInterface.GUIImage

Property Value
bBoundToParent True
Image Material'2K4Menus.Controls.thinpipe_b'
ImageColor
Member Value
A 255
B 255
G 255
R 255
ImageRenderStyle MSTY_Normal
ImageStyle ISTY_Scaled
RenderWeight 0.3
WinHeight 0.452
WinLeft 0.059
WinTop 0.1465
WinWidth 0.1745

SPMimgPictureBg[edit]

Class: XInterface.GUIImage

Property Value
bBoundToParent True
Image Material'2K4Menus.Controls.sectionback'
ImageRenderStyle MSTY_Normal
ImageStyle ISTY_Scaled
RenderWeight 0.2
WinHeight 0.4645
WinLeft 0.05775
WinTop 0.136499
WinWidth 0.177

Functions[edit]

Events[edit]

HandleParameters[edit]

event HandleParameters (string Param1, string Param2)

Overrides: GUIPage.HandleParameters


Other instance functions[edit]

btnCancelOnClick[edit]

function bool btnCancelOnClick (GUIComponent Sender)


btnTreatOnClick[edit]

function bool btnTreatOnClick (GUIComponent Sender)