856 B
856 B
Forge Client Notifications
Overview
The notifications addon owns the client notification HUD, notification sound, and local notification service used by other Forge client and server modules.
Dependencies
forge_client_main
Main Components
fnc_initService.sqfmanages queued and visible notifications.fnc_openUI.sqfopens the notification HUD display.fnc_handleUIEvents.sqfhandles browser/HUD events.CfgSounds.hppdefines the notification sound.
Event Surface
forge_client_notifications_recieveNotification accepts:
[_type, _title, _content, _duration]
The event plays the configured sound and adds the notification to the HUD.
Runtime Notes
The HUD opens after the virtual arsenal repository is loaded. Other addons should use this notification event instead of creating their own transient UI.