Client Addons

Client CAD Usage Guide

The client CAD addon provides the map and dispatch UI for groups, active tasks, task assignment, dispatch orders, support requests, and task acknowledge/decline workflows.

Client CAD Usage Guide

The client CAD addon provides the map and dispatch UI for groups, active tasks, task assignment, dispatch orders, support requests, and task acknowledge/decline workflows.

Open CAD UI

call forge_client_cad_fnc_openUI;

The CAD UI opens RscMapUI and loads separate browser controls for:

  • top bar
  • bottom bar
  • side panel
  • dispatcher board

The native Arma map remains part of the same display.

Repository and Bridge

forge_client_cad_fnc_initRepository caches the hydrated CAD payload, selected mode, dispatch view, session data, groups, tasks, requests, and assignments.

forge_client_cad_fnc_initUIBridge owns:

  • ready state for side panel, top bar, and dispatcher board
  • operations vs dispatch mode
  • board vs map dispatch view
  • hydrate requests
  • task assignment, acknowledge, and decline requests
  • dispatch order create/close requests
  • support request submit/close requests
  • group status, role, and profile requests
  • map focus actions

Browser Events

EventClient behavior
cad::topbar::readyMark top bar ready and push top bar state.
cad::readyMark side panel ready and request hydrate.
cad::dispatcher::readyMark dispatcher board ready and push hydrate data.
cad::mode::setSwitch between operations and dispatch mode.
cad::dispatchView::setSwitch dispatch board/map view.
cad::refreshRequest fresh CAD hydrate data.
cad::tasks::assignAssign a task to a group.
cad::tasks::acknowledgeAcknowledge assigned task.
cad::tasks::declineDecline assigned task.
cad::dispatchOrder::createCreate dispatch order.
cad::dispatchOrder::closeClose dispatch order.
cad::supportRequest::submitSubmit support request.
cad::supportRequest::closeClose support request.
cad::groups::statusUpdate group status.
cad::groups::roleUpdate group role.
cad::groups::profileUpdate status and role together.
cad::groups::focusCenter map on a group.
cad::tasks::focusCenter map on a task.
cad::requests::focusCenter map on a support request.
map::zoomInZoom native map in.
map::zoomOutZoom native map out.
map::searchPlaceholder status update.
map::closeDispose bridge state and close the display.

Response Events

The bridge pushes:

EventPurpose
cad::hydrateFull hydrated CAD payload to the side panel.
cad::assignment::responseTask assignment/acknowledge/decline result.
cad::group::responseGroup status/role/profile result.
cad::request::responseSupport request result.

Dispatcher board controls also receive direct ExecJS status and hydrate calls.

Task Compatibility

CAD task visibility depends on server-side task catalog entries. Tasks created through Eden Forge task modules or forge_server_task_fnc_startTask are the normal CAD-compatible task sources because they register task catalog data.

Direct handler or task-function calls only work with CAD when the task catalog entry already exists.

Authorization Notes

Only dispatcher sessions can enter dispatch mode. If the hydrated session is not a dispatcher, the bridge forces the UI back to operations mode.

Copyright © 2026