Jacob Schmidt 89169f1e84 Update documentation and add new client usage guides
- Revised README.md for the Forge Client Example Addon to clarify its purpose as a template.
- Enhanced MODULE_REFERENCE.md to categorize guides into Server and Extension guides and Client guides.
- Created detailed usage guides for various client addons including Actor, Bank, CAD, Garage, Locker, Notifications, Organization, Phone, and Store.
- Added a Client Common Usage Guide to outline shared browser UI bridge patterns.
- Introduced a Client Main Usage Guide to define the foundational elements for client addons.
- Established authoritative state notes and usage rules across new guides to ensure clarity on server ownership and client responsibilities.
2026-04-18 13:04:01 -05:00
..

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.sqf manages queued and visible notifications.
  • fnc_openUI.sqf opens the notification HUD display.
  • fnc_handleUIEvents.sqf handles browser/HUD events.
  • CfgSounds.hpp defines 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.