UI_CreateEventCue(LOC("Be careful!"), nil, "", "", "sfx_ui_event_queue_high_priority_play")
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")