Skip to main content

Execute_SystemMessage

Description

Displays a toast/system message to the player for the specified duration. The toast message ID should be built from a Text_* ID by using the text type as a prefix and '_Text' as a suffix. For example, for Text_Message.json's 'Interaction_FailReason_WalkTo', use 'Message_Interaction_FailReason_WalkTo_Text'.

Parameters

ParameterDescription
BaseObjectThe entity for which the message is displayed
S1Toast message ID (text type prefix + key + "_Text" suffix)
F1Duration in seconds the toast message is displayed

Examples

DescriptionBaseObjectCommandS1F1
Display "WalkTo failed reason" text for 2 secondsSelfSystemMessageMessage_Interaction_FailReason_WalkTo_Text2
Display a notification message for 3 secondsSelfSystemMessageMessage_Notification_Text3