Page MenuHomeFeedback Tracker

BIS_fnc_exportGUIBaseClasses Function Bug
Closed, ResolvedPublic

Description

When the BIS_fnc_exportGUIBaseClasses function is used to export the base classes for the Eden Editor, the order of the class definitions are incorrect and cause errors when the exported classes are used in the provided order. There are multiple issues with the order, however one of the main issues in the order include ctrlDefault being defined after other classes which inherit it are. There are several classes which are exported either too early or too late, causing issues with inheritance. I can provide a full list if need be however it may be easier on your end to find that out.

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting

Event Timeline

Larrow added a subscriber: Larrow.Aug 4 2018, 3:01 PM

Still broken as of v1.84.
It also does not output the new base class of RscControlsTable that was added in v1.84.

R3vo added a subscriber: R3vo.May 28 2019, 11:33 AM

Exporting the base classes works fine.

@Astaroth hi :)

Can you check this ticket please ^_^

R3vo added a comment.Oct 18 2020, 11:00 PM

This functions is pretty important. Would be nice if we could get a fix.

R3vo added a comment.EditedNov 30 2020, 12:17 AM

Repro:

  1. Create a new mission and save it
  2. Execute
"3DEN" call BIS_fnc_exportGUIBaseClasses

in the debug console

  1. Open scenario folder and create a description.ext, copy the content from clipboard into it and save it
  2. Save the mission in Eden Editor and reload it
0:16:48 Warning Message: <PATH>\BIS_fnc_exportGUIBaseClasses.vr\description.ext, line 0: .ctrlCheckbox: Undefined base class 'ctrlDefault'
0:16:48 Warning Message: Config : some input after EndOfFile.
R3vo closed this task as Resolved.Jun 9 2021, 1:07 PM
R3vo claimed this task.

Not necessary anymore since the introduction of import