Campaign-Updates-6-9-2024 #54

Merged
hizumi merged 4 commits from Campaign-Updates-6-9-2024 into develop 2024-06-19 19:55:05 -05:00
3 changed files with 6 additions and 1 deletions
Showing only changes of commit 68d793a519 - Show all commits

View File

@@ -1,3 +1,5 @@
#include "..\script_component.hpp"
params ["_target", "_player", "_params", "_flagOptionCfg"]; params ["_target", "_player", "_params", "_flagOptionCfg"];
_params params ["_rootActionID", "_flagCategoryActionID", "_flagSubclassesCfgs"]; _params params ["_rootActionID", "_flagCategoryActionID", "_flagSubclassesCfgs"];

View File

@@ -1,3 +1,5 @@
#include "..\script_component.hpp"
// diag_log format ["NewFlagCategory: %1 %2", _flagCategory, _flagOptions]; // diag_log format ["NewFlagCategory: %1 %2", _flagCategory, _flagOptions];
params ["_rootActionID", "_flagCategoryCfg"]; params ["_rootActionID", "_flagCategoryCfg"];

View File

@@ -5,6 +5,7 @@
0: STRING - Parent action ID 0: STRING - Parent action ID
1: ARRAY - Flag category configs 1: ARRAY - Flag category configs
*/ */
#include "..\script_component.hpp"
params ["_rootActionID", "_flagCategoryCfgs"]; params ["_rootActionID", "_flagCategoryCfgs"];
@@ -17,7 +18,7 @@ private _allCategoryActions = [];
_flagCategoryActions pushBack ([_rootActionID, _x] call FUNC(compileFlagCategoryAction)); _flagCategoryActions pushBack ([_rootActionID, _x] call FUNC(compileFlagCategoryAction));
} forEach (_x call BIS_fnc_returnChildren); } forEach (_x call BIS_fnc_returnChildren);
} else { } else {
_flagCategoryActions pushBack (_x call FUNC(compileFlagCategoryAction)); _flagCategoryActions pushBack ([_rootActionID, _x] call FUNC(compileFlagCategoryAction));
}; };
// add category to all category actions array // add category to all category actions array
{ {