BIS_fnc_displayName

From Bohemia Interactive Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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:
private _myDisplayName = [configFile >> "CfgVehicles" >> typeOf vehicle player] call BIS_fnc_displayName;
Example 2:
private _myDisplayName = [configOf player] call BIS_fnc_displayName; // Since Arma 3 2.00

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