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.Jan 11 2022, 12:32 AM
POLPOX added a subscriber: POLPOX.Feb 26 2024, 9:41 AM