Description
This function is a central part of how BI handles UIs. For a full explanation see this page.
Syntax
parameters call BIS_fnc_initDisplay
Parameters:
parameters: Array- [] - Init displays during preStart
- [mode, params, displayClass, scriptPath, register]
- mode: String - Mode, can be "onLoad" or "onUnload"
- params: Array - Parameters passed from onLoad or onUnload UI event handler
- displayClass: String - Display class, usually to format "RscDisplayXXX"
- scriptPath: String - Script path from CfgScriptPaths
- register: Number or Boolean - Save variables associated with the display to the uiNamespace. Usually this is
falsewhen the function is called from a control.
Returns: Nothing
Examples
Example 1
["onLoad", _this, "RscDisplayAAR", "GUI", true] call (uiNamespace getVariable "BIS_fnc_initDisplay");