configName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "‎" to "")
 
(75 intermediate revisions by 14 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|CONFIGNAME]]
{{RV|type=command
[[Category:Scripting Commands ArmA|CONFIGNAME]]


|game1= arma1
|version1= 1.00


<h2 style="color:#000066">''' configName ''config'''''</h2>
|game2= arma2
|version2= 1.00


|game3= arma2oa
|version3= 1.50


'''Operand types:'''
|game4= tkoh
|version4= 1.00


'''config:''' [[Config]]
|game5= arma3
|version5= 0.50


'''Type of returned value:'''
|gr1= Config


[[String]]
|descr= Returns name of config entry.


'''Compatibility:'''
|s1= [[configName]] config


Version 2.35 required.
|p1= config: [[Config]]


'''Description:'''
|r1= [[String]]


Returns name of config entry.
|x1= <sqf>_name = configName (configFile >> "CfgVehicles"); // result is "CfgVehicles"</sqf>


 
|seealso= [[configFile]] [[a / b]] [[config greater greater name|config >> name]] [[count]] [[getArray]] [[getText]] [[getNumber]] [[inheritsFrom]] [[isArray]] [[isClass]] [[isNumber]] [[isText]] [[select]]
'''Example''':
}}
 
_name = '''configName''' (configFile >> "CfgVehicles") , result is "CfgVehicles"

Latest revision as of 11:53, 26 April 2023

Hover & click on the images for description

Description

Description:
Returns name of config entry.
Groups:
Config

Syntax

Syntax:
configName config
Parameters:
config: Config
Return Value:
String

Examples

Example 1:
_name = configName (configFile >> "CfgVehicles"); // result is "CfgVehicles"

Additional Information

See also:
configFile a / b config >> name count getArray getText getNumber inheritsFrom isArray isClass isNumber isText select

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