BIS fnc displayName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "code>_([a-zA-Z0-9_]+) = " to "code>private _$1 = ")
m (Text replacement - " |s1=[" to " |s1= [")
Line 11: Line 11:
|descr= Return given class displayName value. Return base class name if displayName not defined.
|descr= Return given class displayName value. Return base class name if displayName not defined.


|s1=[config] call [[BIS_fnc_displayName]]
|s1= [config] call [[BIS_fnc_displayName]]


|p1= config: [[Config]] - config path
|p1= config: [[Config]] - config path

Revision as of 00:11, 13 July 2022

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;

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