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

Property group 'Action'

bBroadcast

Type: bool

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

Message

Type: string

The message string to display.

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'

Default values

Property Value
ActionString "display message"

Instance functions

GetActionString

function string GetActionString ()

Overrides: ScriptedAction.GetActionString

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

InitActionFor

function bool InitActionFor (ScriptedController C)

Overrides: ScriptedAction.InitActionFor

Sends the message.