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
| Parameter | Description |
|---|---|
| BaseObject | The entity for which the message is displayed |
| S1 | Toast message ID (text type prefix + key + "_Text" suffix) |
| F1 | Duration in seconds the toast message is displayed |
Examples
| Description | BaseObject | Command | S1 | F1 |
|---|---|---|---|---|
| Display "WalkTo failed reason" text for 2 seconds | Self | SystemMessage | Message_Interaction_FailReason_WalkTo_Text | 2 |
| Display a notification message for 3 seconds | Self | SystemMessage | Message_Notification_Text | 3 |
Back to Command FinderSearch and filter all 399 Script Execution documents