Page MenuHomeFeedback Tracker

BIS_fnc_exportGUIBaseClasses does not take inheritance into consideration
New, NormalPublic

Description

Pasting the result of

[] call BIS_fnc_exportGUIBaseClasses;

in a file for parent classes will not work without further tweaks. This is due to the fact that the function looks through the config and only grabs the control classes from configFile without paying attention to their inheritance. For example, using the "all" option will result in the following error:

File E:\Documents (E)\Arma 3 - Other Profiles\Terra\missions\GUI_Guide.VR\ui\controls.hpp, line 2213: .ctrlCheckbox: Undefined base class 'ctrlDefault'

Details

Severity
Tweak
Resolution
Open
Reproducibility
Always
Operating System
Windows 10
Category
Scripting
Steps To Reproduce
  • New mission
  • Create description.ext with content:
#include "ui\controls.hpp"
  • Create ui\controls.hpp
  • Execute in debug console
[] call BIS_fnc_exportGUIBaseClasses ;
  • Paste result in ui\controls.hpp
  • Save mission
  • Reload

Event Timeline

7erra created this task.Apr 10 2020, 12:15 AM
7erra updated the task description. (Show Details)Apr 10 2020, 12:26 AM
7erra edited Steps To Reproduce. (Show Details)