Creates a new control in the given display.
The control class could be an existing class from the main config or a custom class defined in the mission config.
The main config is searched first, if the class does not exist there, the mission config is searched.
Some of the common controls defined in the main config that can be used with this command:
ⓘ
This list contains controls which are guaranteed to work with this command. However, controls not listed here should work as well - as long as they are properly defined.
display: Display - display in which control will be created
class: String - existing classname (see ctrlCreate/classnames) of the new control. Since Arma 3 v1.70 it is possible to use classes defined in mission config
idc: Number - IDC of the new control. Use -1 if not needed
⚠
Be careful when setting the IDC to -1 if the GUI also contains a CT_LISTNBOX since idcLeft and idcRight by default have idc=-1;.
controlsGroup: Control - (Optional) creates controls in existing controls group
Create Tree View control with search. Available RscTreeSearch class is hardcoded to be used with RscEdit with idc 645. Example below demonstrates how to. After tree is generated, try typing something in the top box.