BIS fnc initDisplay: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "") |
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "") |
||
Line 78: | Line 78: | ||
|x1= <code>["onLoad", [[_this]], "RscDisplayAAR", "GUI", true] [[call]] ([[uiNamespace]] [[getVariable]] "[[BIS_fnc_initDisplay]]");</code> | |x1= <code>["onLoad", [[_this]], "RscDisplayAAR", "GUI", true] [[call]] ([[uiNamespace]] [[getVariable]] "[[BIS_fnc_initDisplay]]");</code> | ||
}} | }} | ||
Revision as of 02:20, 2 February 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- GUI
Syntax
- Syntax:
- Syntax needed
- Parameters:
- parameters: Array
- [ ] (empty array) - init displays during preStart
- [mode, params, displayClass, scriptPath, register]
- mode: String - mode, can be "onLoad" or "onUnload"
- params: Array - params 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 Bool - Save variables associated with the display to the uiNamespace. Usually this is false when the function is called from a control.
- Return Value:
- Return value needed
Examples
- Example 1:
["onLoad", _this, "RscDisplayAAR", "GUI", true] 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