BIS fnc displayName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=")
Line 9: Line 9:
| Return given class displayName value. Return base class name if displayName not defined.
| Return given class displayName value. Return base class name if displayName not defined.


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


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

Revision as of 15:58, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
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