config / name: Difference between revisions
Jump to navigation
Jump to search
m (note format) |
Killzone Kid (talk | contribs) (tidying up) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns | | Returns [[Config | config]] entry with given name (alias for [[config greater greater name|config >> name]]). Do not confuse with [[a_/_b|division operator /]] |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''' | | config '''/''' name|= Syntax | ||
| p1 = config: [[Config]]|=Parameter 1 | | p1 = config: [[Config]] |=Parameter 1 | ||
|p2 = name: [[String]] | = Parameter 2 | |p2 = name: [[String]] | = Parameter 2 | ||
| [[Config]] | | [[Config]] - config entry |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 16:58, 2 October 2018
Description
- Description:
- Returns config entry with given name (alias for config >> name). 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"]