- Add mission config, params, and function registrations - Implement faction helpers and mission generators - Include setup docs, CBA settings, and mission scaffolding
Mission Setup Functions
Mission setup functions own startup configuration for forge_pmc_simulator.Tanoa.
Registered Functions
forge_pmc_fnc_openMissionSetupUIopens the browser-control startup UI.forge_pmc_fnc_handleMissionSetupUIEventshandles UI events fromA3API.SendAlert.forge_pmc_fnc_setupMenu_applySettingsapplies UI overrides or mission parameter defaults intoforge_pmc_missionSettings.
Startup Flow
The client opens the setup UI from initPlayerLocal.sqf when forge_pmc_missionSettingsApplied is not set.
Selecting Start Mission sends UI values to the server and applies them. Selecting Cancel applies the existing Arma mission params/defaults immediately.
Shared State
forge_pmc_missionSettings: HashMap of applied settings.forge_pmc_missionSettingsApplied: Boolean gate used by the mission manager.ENEMY_FACTION_STRandENEMY_SIDE: selected faction and resolved Arma side.
Reusable faction and setting lookup helpers live in functions\helpers.