config / name: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2") |
Lou Montana (talk | contribs) m (Text replacement - "\<dt class\=\"note\"\>\'\'\'\[\[(.*)\]\]\'\'\'" to "<dt class="note">$1") |
||
Line 30: | Line 30: | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on Apr 1, 2014 - 00:02 | <dd class="notedate">Posted on Apr 1, 2014 - 00:02 | ||
<dt class="note"> | <dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]<dd class="note"> | ||
(ArmA3 1.14) config / name can be composed to config >> name [[String]] or [[Array]] format via [[BIS_fnc_configPath]]. E.g. | (ArmA3 1.14) config / name can be composed to config >> name [[String]] or [[Array]] format via [[BIS_fnc_configPath]]. E.g. | ||
<code> | <code> |
Revision as of 16:33, 17 May 2020
Description
- Description:
- Returns config entry with given name (alias for config >> name, slightly slower but with higher precedence). Do not confuse with division operator /
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
configFile / "CfgVehicles";
Additional Information
- See also:
- configFilemissionConfigFilecampaignConfigFileconfigNameconfig >> namecountgetArraygetTextgetNumberinheritsFromisArrayisClassisNumberisTextselect
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
Notes
- Posted on Apr 1, 2014 - 00:02
- ffur2007slx2_5
-
(ArmA3 1.14) config / name can be composed to config >> name String or Array format via BIS_fnc_configPath. E.g.
[(configFile/"ATMineCrater"/"MissileCircleDust"),""] call BIS_fnc_configPath; //return: "configfile >> "ATMineCrater" >> "MissileCircleDust""
[(configFile/"ATMineCrater"/"MissileCircleDust"),[]] call BIS_fnc_configPath; //return: ["configfile","ATMineCrater","MissileCircleDust"]