Arma 3 Scripting

Function in Configs

BIS_fnc_displayName

Also available as Markdown and JSON, or read the original wiki page.

Description

Return given class displayName value. Return base class name if displayName not defined.

Syntax

[config] call BIS_fnc_displayName

Parameters:

Returns: 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

See also

configName