BIS fnc getCfg: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "\|r1=$1 \|x1=")
Line 16: Line 16:
|p1= input: [[Config]] or [[Array]] - Can be [[Config]] path or array of strings with config names
|p1= input: [[Config]] or [[Array]] - Can be [[Config]] path or array of strings with config names


| [[Config]]
\|r1= [[Config]]


|x1= <code>( [[configFile]] >> "BulletBubbles" >> "BulletBubbles1" ) [[call]] [[BIS_fnc_getCfg]];</code>
\|x1= <code>( [[configFile]] >> "BulletBubbles" >> "BulletBubbles1" ) [[call]] [[BIS_fnc_getCfg]];</code>
|x2= <code>[ [[configFile]] >> "BulletBubbles" >> "BulletBubbles1" ] [[call]] [[BIS_fnc_getCfg]];</code>
|x2= <code>[ [[configFile]] >> "BulletBubbles" >> "BulletBubbles1" ] [[call]] [[BIS_fnc_getCfg]];</code>
|x3= <code>[ [[configFile]], "BulletBubbles", "BulletBubbles1" ] [[call]] [[BIS_fnc_getCfg]];</code>
|x3= <code>[ [[configFile]], "BulletBubbles", "BulletBubbles1" ] [[call]] [[BIS_fnc_getCfg]];</code>

Revision as of 11:25, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Configs

Syntax

Syntax:
Syntax needed
Parameters:
input: Config or Array - Can be Config path or array of strings with config names \
Return Value:
Config \

Examples

Example 1:
( configFile >> "BulletBubbles" >> "BulletBubbles1" ) call BIS_fnc_getCfg;
Example 2:
[ configFile >> "BulletBubbles" >> "BulletBubbles1" ] call BIS_fnc_getCfg;
Example 3:
[ configFile, "BulletBubbles", "BulletBubbles1" ] call BIS_fnc_getCfg;
Example 4:
[ "Hubs", "A1", "QuickStart", "trigger" ] call BIS_fnc_getCfg;
Example 5:
[ "Hubs" ] call BIS_fnc_getCfg;

Additional Information

See also:
configClassesconfigPropertiesmissionConfigFilecampaignConfigFileconfigNamegetArraygetTextgetNumberinheritsFromisClassisTextconfigHierarchy

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