Jacob Schmidt afb3c665af Add PMC simulator mission pack and setup flow
- Add mission config, params, and function registrations
- Implement faction helpers and mission generators
- Include setup docs, CBA settings, and mission scaffolding
2026-05-22 22:38:38 -05:00
..

Mission Manager Functions

Mission manager functions coordinate dynamic mission generation for forge_pmc_simulator.Tanoa.

Registered Functions

  • forge_pmc_fnc_missionManager is postInit and starts the dynamic mission manager after setup settings are applied.
  • forge_pmc_fnc_persistentCadMissionManager starts the persistent CAD-oriented mission dispatcher.
  • forge_pmc_fnc_updateEnemyCountFromActivePlayers updates the active-player scaling multiplier used by enemy spawns.

Helper Scripts

  • adminActivatePersistentCad.sqf is an admin/server-console helper that calls forge_pmc_fnc_persistentCadMissionManager.

Runtime Notes

forge_pmc_fnc_missionManager waits for forge_pmc_missionSettingsApplied before it creates generator objects. If no UI settings are submitted within the fallback window, it applies mission param defaults and starts generation.

Generated tasks are registered through forge_server_task_fnc_startTask with source mission_manager, so they appear in the normal Forge task/CAD lifecycle.