Page MenuHomeFeedback Tracker

"collapseassetbrowser" spawn BIS_fnc_3DENInterface causes script error
New, NormalPublic

Description

The script error is caused because the IDC macro IDC_DISPLAY3DEN_CREATE_FAVORITE is unknown.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 11 x64
Category
Scripting
Steps To Reproduce
  1. Open Eden Editor
  2. Execute the following in the Debug Console
"collapseassetbrowser" spawn BIS_fnc_3DENInterface
Additional Information

RPT:

15:29:07 Error in expression <rivate _ctrlTree = _display displayctrl _x;
if (ctrlenabled _ctrlTree) then {[] >
15:29:07   Error position: <_x;
if (ctrlenabled _ctrlTree) then {[] >
15:29:07   Error Undefined variable in expression: _x
15:29:07 File A3\3DEN\Functions\fn_3DENInterface.sqf..., line 220
15:29:07 Error in expression <60,			61,			62,			63,			64,			65,			71,	IDC_DISPLAY3DEN_CREATE_FAVORITE,			66,		>
15:29:07   Error position: <IDC_DISPLAY3DEN_CREATE_FAVORITE,			66,		>
15:29:07   Error Undefined variable in expression: idc_display3den_create_favorite
15:29:07 File A3\3DEN\Functions\fn_3DENInterface.sqf..., line 208

*Tested without mods in A3 2.12.150854

Event Timeline

R3vo created this task.Aug 19 2023, 3:31 PM
R3vo edited Steps To Reproduce. (Show Details)
R3vo added a comment.Aug 21 2023, 5:32 PM

The error is caused by IDC_DISPLAY3DEN_CREATE_FAVORITE not being defined in IDC_DISPLAY3DEN_CREATE_ALL. Both macros are located in \3den\ui\resincl.inc