BIS fnc initDisplay: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 24: | Line 24: | ||
** displayClass: [[String]] - [[Display]] class, usually to format "RscDisplayXXX" | ** displayClass: [[String]] - [[Display]] class, usually to format "RscDisplayXXX" | ||
** scriptPath: [[String]] - script path from CfgScriptPaths | ** scriptPath: [[String]] - script path from CfgScriptPaths | ||
|= | |PARAMETER1= | ||
| Nothing |RETURNVALUE= | | Nothing |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>["onLoad", [[_this]], "RscDisplayAAR", "GUI"] [[call]] ([[uiNamespace]] [[getVariable]] "[[BIS_fnc_initDisplay]]");</code> |= | |x1= <code>["onLoad", [[_this]], "RscDisplayAAR", "GUI"] [[call]] ([[uiNamespace]] [[getVariable]] "[[BIS_fnc_initDisplay]]");</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:30, 7 April 2019
Description
- Description:
- Initialize displays during preStart or init GUI display and run its script.
The config class of the display is available in "BIS_fnc_initDisplay_configClass" stored on display:_display getVariable "BIS_fnc_initDisplay_configClass";
Display is also stored in uiNamespace variable with config class name:uiNamespace getVariable "RscAvCamera";
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- parameters call BIS_fnc_initDisplay
- Parameters:
- parameters: Array
- [ ] (empty array) - init displays during preStart
- [mode, params, displayClass, scriptPath]
- Return Value:
- Nothing
Examples
- Example 1:
["onLoad", _this, "RscDisplayAAR", "GUI"] call (uiNamespace getVariable "BIS_fnc_initDisplay");
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note