flag_simpleshape_variety #53

Merged
hizumi merged 3 commits from flag_simpleshape_variety into develop 2024-06-19 19:53:41 -05:00
3 changed files with 6 additions and 1 deletions

View File

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

View File

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

View File

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