BIS fnc getCfgDataObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {{Function|Comments=" to "{{Function|Comments=")
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?(call|spawn) \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= Configs
____________________________________________________________________________________________


| <pre>/*
|descr= <pre>/*


Description:
Description:
Line 33: Line 32:
Returns:
Returns:
OBJECT or OBJNULL
OBJECT or OBJNULL
*/
*/</pre>


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION=
{{Wiki|placeholder}}
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_getCfgDataObject]]; --> |SYNTAX=
|s1= <!-- [] call [[BIS_fnc_getCfgDataObject]] -->


|p1= |PARAMETER1=
|r1=


| |RETURNVALUE=
|x1= <!-- <sqf>[] call BIS_fnc_getCfgDataObject;</sqf> -->
____________________________________________________________________________________________
 
|x1= <code></code> |EXAMPLE1=
____________________________________________________________________________________________
 
| |SEEALSO=


|seealso=
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Configs|{{uc:getCfgDataObject}}]]
[[Category:Functions|{{uc:getCfgDataObject}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:getCfgDataObject}}]]

Latest revision as of 13:09, 5 May 2022

Hover & click on the images for description

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

Examples:
Example needed

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