Mods (complete and add to the following information):
1.98 stable 3.15.03.13.2 Description:
Try to open a BIS Dialog (Dynamic Group) with ace interaction.
On execution game crash without an .rpt error or any other message.
with addacion it work.
Steps to reproduce:
setup mission with Arma_3_Dynamic_Groups
Execute that in the Debug consol
_action = ["GroupMenu","Group Menu","",{([] call BIS_fnc_displayMission) createDisplay "RscDisplayDynamicGroups";},{true}] call ace_interact_menu_fnc_createAction;
[(typeOf player), 1, ["ACE_SelfActions"], _action] call ace_interact_menu_fnc_addActionToClass;
Expected behavior:
I expect that the Dynamic Group Menu pops up
Where did the issue occur?
Editor (Singleplayer) / Editor (Multiplayer)
Log Files:
None
Additional context:
Add any other context about the problem here.
Screenshots:
If applicable, add screenshots to help explain your problem.
Arma crashes when you create a display from inside another display unload event. Wrap your code in execNextFrame and it will work:
_action = ["GroupMenu","Group Menu","",{
{
([] call BIS_fnc_displayMission) createDisplay "RscDisplayDynamicGroups";
} call CBA_fnc_execNextFrame;
},{true}] call ace_interact_menu_fnc_createAction;
[typeOf player, 1, ["ACE_SelfActions"], _action] call ace_interact_menu_fnc_addActionToClass;
Great Thanks. it worked
Didnt know that.
Most helpful comment
Great Thanks. it worked
Didnt know that.