config / name: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (tidying up) |
Killzone Kid (talk | contribs) (precedence) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns [[Config | config]] entry with given name (alias for [[config greater greater name|config >> name]]). Do not confuse with [[a_/_b|division operator /]] |= Description | | Returns [[Config | config]] entry with given name (alias for [[config greater greater name|config >> name]], slightly slower but with [[SQF_syntax#Rules_of_Precedence | higher precedence]]). Do not confuse with [[a_/_b|division operator /]] |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 20:03, 7 October 2018
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"]