Notifications

From Age of Empires 4 Modding


Small text notifications can be created using UI_CreateEventCue, example:

UI_CreateEventCue(LOC("Be careful!"), nil, "", "", "sfx_ui_event_queue_high_priority_play")

UI_CreateEventCue(LOC("Be careful!"), null, "", "", "sfx_ui_event_queue_high_priority_play")


Image of notification using UI_CreateEventCue
Notification using UI_CreateEventCue