{"name":"BIS_fnc_initDisplay","title":"BIS fnc initDisplay","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_initDisplay","revid":379270,"updated":"2026-10-30T23:44:11Z","groups":["GUI"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"This function is a central part of how BI handles UIs. For a full explanation see this page.","syntaxes":[{"syntax":"parameters call BIS_fnc_initDisplay","params":[{"name":"parameters","type":"Array","description":"Array\n\n- [] - Init displays during preStart\n- [mode, params, displayClass, scriptPath, register]\n  - mode: String - Mode, can be \"onLoad\" or \"onUnload\"\n  - params: Array - Parameters passed from onLoad or onUnload UI event handler\n  - displayClass: String - Display class, usually to format \"RscDisplayXXX\"\n  - scriptPath: String - Script path from CfgScriptPaths\n  - register: Number or Boolean - Save variables associated with the display to the uiNamespace. Usually this is `false` when the function is called from a control.","type_expr":"Array","text":"parameters: Array\n\n- [] - Init displays during preStart\n- [mode, params, displayClass, scriptPath, register]\n  - mode: String - Mode, can be \"onLoad\" or \"onUnload\"\n  - params: Array - Parameters passed from onLoad or onUnload UI event handler\n  - displayClass: String - Display class, usually to format \"RscDisplayXXX\"\n  - scriptPath: String - Script path from CfgScriptPaths\n  - register: Number or Boolean - Save variables associated with the display to the uiNamespace. Usually this is `false` when the function is called from a control."}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"code":["[\"onLoad\", _this, \"RscDisplayAAR\", \"GUI\", true] call (uiNamespace getVariable \"BIS_fnc_initDisplay\");"]}],"see_also":["GUI Tutorial","Arma: GUI Configuration"]}