- Scan CfgFactionClasses/CfgVehicles at runtime for selectable enemy factions - Add CfgFactionUnitMap overrides and keep legacy params as fallback
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 CEO client opens the setup UI from initPlayerLocal.sqf when forge_pmc_missionSettingsApplied is not set. Other players do not receive the startup setup UI.
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.