BIS_fnc_getCfg
Jump to navigation
Jump to search
Description
- Description:
/* Author: Killzone_Kid Description: Smart-return config (extension for BIS_fnc_getCfgXXXX functions) Remark(s): Can by called 2 ways: * 1st way - passing config directly * 2nd way - passing array of strings or config and strings Parameter(s): _this: CONFIG _this: ARRAY Example 1: 1st way of calling: _cfg = (configfile >> "BulletBubbles" >> "BulletBubbles1") call BIS_fnc_getCfg; _cfg = (missionconfigfile >> "Hubs" >> "A1" >> "QuickStart" >> "trigger") call BIS_fnc_getCfg; Example 2: 2nd way of calling: _cfg = [configfile >> "BulletBubbles" >> "BulletBubbles1"] call BIS_fnc_getCfg; _cfg = [configfile, "BulletBubbles", "BulletBubbles1"] call BIS_fnc_getCfg; _cfg = ["Hubs"] call BIS_fnc_getCfg; _cfg = ["Hubs", "A1", "QuickStart", "trigger"] call BIS_fnc_getCfg; Returns: CONFIG */ // is array [string(, string...)]
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)- Execution:
- call
- Groups:
- Uncategorised
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