Page MenuHomeFeedback Tracker

enableInfoPanelComponent does not work for CustomDisplayComponent
New, NormalPublic

Description

As title, using the SQF command "enableInfoPanelComponent" for a custom info panel that has the componentType = "CustomDisplayComponent" always returns true; the info panel does not get disabled.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Ingame UI
Steps To Reproduce

Create a new custom info component as a subclass of (eg.) DefaultVehicleSystemsDisplayManagerLeft that has componentType = "CustomDisplayComponent".
Attempting to disable the component using

player enableInfoPanelComponent ["left", "CustomDisplayComponent", false];

will always return true, and the panel will remain open/enabled.

Additional Information

The alternative syntax of enableInfoPanelComponent yields the same result.

Event Timeline

Mokka created this task.Tue, Jan 11, 12:32 AM