BIS fnc displayName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *tkoh * * *\| *([0-1]\.[0-9]{2}) * " to "|game1= tkoh |version1= $1 ")
m (Text replacement - " \[\[Category:\{\{Name|[a-z0-9]+\}\}: Functions\|\{\{uc:[a-zA-Z0-9]+\}\}\]\]" to "")
Line 21: Line 21:
|seealso= [[configName]]
|seealso= [[configName]]
}}
}}
 
||
[[Category:{{Name|tkoh}}: Functions|{{uc:displayName}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:displayName}}]]

Revision as of 23:00, 16 June 2021

Hover & click on the images for description

Description

Description:
Return given class displayName value. Return base class name if displayName not defined.
Execution:
call
Groups:
Configs

Syntax

Syntax:
[config] call BIS_fnc_displayName
Parameters:
config: Config - config path
Return Value:
String - displayName, else configName

Examples

Example 1:
_myDisplayName = [configFile >> "CfgVehicles" >> typeOf vehicle player] call BIS_fnc_displayName;

Additional Information

See also:
configName

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

||