mostly working

This commit is contained in:
2024-02-10 16:13:42 -08:00
parent 032377d7f6
commit ba708a8aa9
14 changed files with 417 additions and 94 deletions

View File

@@ -1,5 +1,7 @@
#include "..\script_component.hpp"
if (!hasInterface) exitWith {};
private _rootAction = [
QGVAR(action_deploy),
"Deploy EMP Device",
@@ -27,20 +29,9 @@ private _rootAction = [
nil,
[_radius]
] call ace_interact_menu_fnc_createAction;
[
LEVEL_TRACE,
QUOTE(COMPONENT),
format["parsed child action: %1", _action]
] call EFUNC(common,log);
_childActions pushBack _action;
_childActions pushBack [_action, [], _target];
false
} count [100,500,3000];
[
LEVEL_TRACE,
QUOTE(COMPONENT),
format["parsed child actions: %1", _childActions]
] call EFUNC(common,log);
_childActions;
}
] call ace_interact_menu_fnc_createAction;