forge/arma/forge_pmc_simulator.Tanoa/initPlayerLocal.sqf
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

14 lines
461 B
Plaintext

[] spawn {
waitUntil { !isNull findDisplay 46 };
sleep 1;
private _ceoUnit = missionNamespace getVariable ["ceo", objNull];
private _isCeoSlot =
(!isNull _ceoUnit && { player isEqualTo _ceoUnit }) ||
{ toLowerANSI (vehicleVarName player) isEqualTo "ceo" };
if (_isCeoSlot && { !(missionNamespace getVariable ["forge_pmc_missionSettingsApplied", false]) }) then {
[] call forge_pmc_fnc_openMissionSetupUI;
};
};