BIS fnc getCfgDataObject: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1= Configs | |gr1= Configs | ||
| <pre>/* | | <pre>/* | ||
Line 35: | Line 35: | ||
*/ | */ | ||
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> | </pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> | ||
| <!-- [] call [[BIS_fnc_getCfgDataObject]]; --> | | <!-- [] call [[BIS_fnc_getCfgDataObject]]; --> | ||
|p1 | |p1= | ||
| | | | ||
|x1= <code></code> | |x1= <code></code> | ||
| | | | ||
}} | }} |
Revision as of 23:01, 17 January 2021
Description
- Description:
/* Description: Get the object defined in cfg by its name (global variable). Remark(s): * Can by called 2 ways: * 1st way (general) works for any config. * 2nd way is for comfortable working with mission description.ext. Parameter(s): _this: CFG _this: ARRAY of STRINGS - missionConfigFile classes and an attribute. Example: * 1st way of calling: _value = (missionconfigfile >> "Hubs" >> "A1" >> "QuickStart" >> "trigger") call BIS_fnc_getCfgDataObject; * 2nd way of calling: _value = ["Hubs","A1","QuickStart","trigger"] call BIS_fnc_getCfgDataObject; Returns: OBJECT or OBJNULL */
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)- Execution:
- call
- Groups:
- Configs
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Example 1:
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