Cannot add ACE actions to objects which have no ACE_MainActions base action
Version information:
Arma 3: 2.06
BWMod: 2.4.0
CBA: 3.15.6
ACE: 3.14.1
Describe the bug
You cannot add any ACE actions to objects (or classes) which do not have an ACE_MainActions
base action. Adding actions to objects having the base action do still work. This error does not occur with only CBA and ACE loaded.
Steps To Reproduce
Execute in console:
_obj = createVehicle ["Land_Can_V2_F",position player,[],0,"CAN_COLLIDE"];
_action = ["SayHi","Say Hi","",{systemChat "Hi"},{true}] call ace_interact_menu_fnc_createAction;
[_obj, 0, ["ACE_MainActions"], _action] call ace_interact_menu_fnc_addActionToObject;
The action is not added.
If you replace Land_Can_V2_F
with Box_NATO_Wps_F
, the action is added because Box_NATO_Wps_F
has ACE_MainActions
.
Where did the issue occur?
Dedicated / Editor (Singleplayer) / Editor (Multiplayer)
RPT log file
arma3_x64_2022-02-06_17-31-32.rpt
Additional context
This problem did not occur in the previous BWMod version.