
All checks were successful
Build / Build (push) Successful in 28s
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.
10 lines
256 B
Plaintext
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); |