BIS fnc getCfgDataObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{placeholder}}" to "{{Wiki|placeholder}}")
m (Text replacement - "\{\{RV\|type=function \| *arma ?3 * \| *([0-9]\.[0-9]{2}) * \|gr1=(.*) \| <pre>\/\*" to "{{RV|type=function |game1= arma3 |version1= $1 |gr1=$2 |descr= <pre>/*")
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.00
|1.00


|gr1= Configs
|gr1= Configs


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


Description:
Description:

Revision as of 19:38, 9 June 2021

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