Skip to main content

Execute_AddTimeAlert

Description

Adds a time alert entry to the TimeAlertUIHandler for the Self entity. The alert triggers when the remaining time reaches the specified alert threshold.

Note

BaseObject is not used. This action is always applied to the Self entity.

Parameters

ParameterDescription
BaseObjectNot used. Fixed to Self entity.
S1TimeAlertDataId that identifies the alert configuration
F1Total duration in minutes for the alert timer
F2Remaining minutes at which the alert notification triggers

Examples

DescriptionBaseObjectCommandS1F1F2
Add a 60-minute alert that triggers at 10 minutes remainingAddTimeAlertAlert_QuestDeadline6010
Add a 30-minute alert that triggers at 5 minutes remainingAddTimeAlertAlert_EventCountdown305
Add a 120-minute alert that triggers at 15 minutes remainingAddTimeAlertAlert_ShopTimer12015