config / name: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dd class="notedate">Posted on ([^<>]+) " to "<dd class="notedate">Posted on $1</dd> ")
(Add redirection)
Tag: New redirect
 
(30 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
#REDIRECT [[a / b]]
 
| arma1
 
|gr1= Config
 
|1.00
 
| 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 /]]
 
| config '''/''' name
 
| p1 = config: [[Config]]
 
|p2 =  name: [[String]] | = Parameter 2
 
| [[Config]] - config entry
 
|x1= <code>[[configFile]] / "CfgVehicles";</code>
 
| [[configFile]], [[missionConfigFile]], [[campaignConfigFile]], [[configName]], [[config greater greater name|config >> name]], [[count]], [[getArray]], [[getText]], [[getNumber]], [[inheritsFrom]], [[isArray]], [[isClass]], [[isNumber]], [[isText]], [[select]]
}}
 
<dl class="command_description">
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on Apr 1, 2014 - 00:02</dd>
<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.
<code>
[([[configFile]]/"ATMineCrater"/"MissileCircleDust"),""] [[call]] [[BIS_fnc_configPath]];
//return: "configfile >> "ATMineCrater" >> "MissileCircleDust""<br>
[([[configFile]]/"ATMineCrater"/"MissileCircleDust"),[]] [[call]] [[BIS_fnc_configPath]];
//return: ["configfile","ATMineCrater","MissileCircleDust"]
</code>
<!-- Note Section END -->
</dl>
 
 
[[Category:Scripting Commands|#]]
{{GameCategory|arma1|Scripting Commands|sortKey=#}}
{{GameCategory|arma2|Scripting Commands|sortKey=#}}
{{GameCategory|arma3|Scripting Commands|sortKey=#}}

Latest revision as of 12:11, 14 May 2022

Redirect to: