I'm a doctor, not a mechanic

UE2:ACTION_DisplayMessage (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 03:02, 17 November 2009 by Wormbo (Talk | contribs) (almost same as UT2004 version)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
U2 Object >> ScriptedAction >> ACTION_DisplayMessage
Package: 
Legend
This class in other games:
UE2Runtime, UT2003, UT2004

Displays a HUD message.

Properties[edit]

Property group 'Action'[edit]

bBroadcast[edit]

Type: bool

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

Message[edit]

Type: string

The message string to display.

MessageType[edit]

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'

Default values[edit]

Property Value
ActionString "display message"

Instance functions[edit]

GetActionString[edit]

function string GetActionString ()

Overrides: ScriptedAction.GetActionString

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

InitActionFor[edit]

function bool InitActionFor (ScriptedController C)

Overrides: ScriptedAction.InitActionFor

Sends the message.