BIS fnc getCfgDataObject: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Configs(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Configs |GROUP1= | |gr1= Configs |GROUP1= | ||
| <pre>/* | | <pre>/* | ||
Line 38: | Line 36: | ||
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION= | </pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION= | ||
| <!-- [] call [[BIS_fnc_getCfgDataObject]]; --> |SYNTAX= | | <!-- [] call [[BIS_fnc_getCfgDataObject]]; --> |SYNTAX= | ||
Line 45: | Line 42: | ||
| |RETURNVALUE= | | |RETURNVALUE= | ||
|x1= <code></code> |EXAMPLE1= | |x1= <code></code> |EXAMPLE1= | ||
| |SEEALSO= | | |SEEALSO= |
Revision as of 23:12, 16 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