client/addons/task/XEH_postInit.sqf
Jacob Schmidt 0858d9a173
All checks were successful
Build / Build (push) Successful in 28s
feat: Implement basic mission management framework
This commit introduces a basic framework for mission management.

- Includes `CfgMissions.hpp` in `config.cpp`.
- Adds `missionManager` to `XEH_PREP.hpp` for event handling preparation.
- Adds a placeholder call to `FUNC(missionManager)` in `XEH_postInit.sqf` with a TODO comment for future implementation.
2025-05-26 00:47:24 -05:00

10 lines
256 B
Plaintext

#include "script_component.hpp"
GVAR(defusedCount) = 0;
// TODO: Implement mission manager
// if (isServer) then { [] call FUNC(missionManager); };
["ace_explosives_defuse", {
GVAR(defusedCount) = GVAR(defusedCount) + 1;
}] call CFUNC(addEventHandler);