I'm a doctor, not a mechanic

UE2:ACTION_DisplayMessage (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT2004 Object >> ScriptedAction >> ACTION_DisplayMessage

Contents

Package: 
Gameplay
This class in other games:
U2, UE2Runtime, UT2003

Displays a HUD message.

[edit] Properties

[edit] Property group 'Action'

[edit] bBroadcast

Type: bool

Whether to broadcast the message to all players. Otherwise the message is only sent to the instigator.

[edit] Message

Type: string

Modifiers: localized

The message string to display.

[edit] MessageType

Type: name

The message type to use. The default value 'CriticalEvent' causes a large HUD message to be displayed. Most other values result in a console message in the chat area instead.

Default value: 'CriticalEvent'

[edit] Default values

Property Value
ActionString "display message"

[edit] Instance functions

[edit] GetActionString

function string GetActionString ()

Overrides: ScriptedAction.GetActionString

Returns the Description "display message" plus the messge string.

[edit] InitActionFor

function bool InitActionFor (ScriptedController C)

Overrides: ScriptedAction.InitActionFor

Sends the message.