Mostly Harmless
UE2:ACTION_DisplayMessage (U2)
From Unreal Wiki, The Unreal Engine Documentation Site
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.