Component > Dialogue System > Trigger > Alert
Alert Trigger displays a gameplay alert message when the specified trigger occurs.
Property | Function |
---|---|
Trigger | The trigger that causes the alert message |
Localized Text Table | Optional localized text table to use (see Localization) |
Message | Message to display; may contain Dialogue Markup Tags; if Localized Table Table is set, Message is a field in the table |
Duration | The duration in seconds to display the message |
Only Once | Display the message once and then destroy this component |
Condition | The Trigger Conditions required for the trigger to fire |
This component displays a gameplay alert message when the specified trigger occurs.
If you want to localize the text, assign Localized Text Table and set Message to the appropriate field name in the table.
The Message may contain Dialogue Markup Tags. For example:
[em1][var=NumBerriesPicked][/em1] Berries Picked!
The Only Once checkbox only works during the current scene. If you want this functionality to persist between level changes or saved games, use a Lua condition instead.
<< Components