BIS fnc displayName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Return given class displayName value. Return base class name if displayName not defined. |= Description
 
Description:
Return displayName of given class. Return class if displayName not defined.
 
Parameter(s):
_this: CONFIG
 
Returns:
STRING
*/
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_displayName]]; --> |= Syntax
| [config] call [[BIS_fnc_displayName]] |= Syntax


|p1= |= Parameter 1
|p1= config: [[Config]] - class |= Parameter 1


| |= Return value
| [[String]] - displayName, else [[configName]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>_myDisplayName = <nowiki>[</nowiki>[[configFile]] >> "CfgVehicles" >> [[typeOf]] [[vehicle]] [[player]]] [[call]] [[BIS_fnc_displayName]];</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[configName]] |= See also
 
}}
}}



Revision as of 23:10, 29 April 2018

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

Syntax

Syntax:
[config] call BIS_fnc_displayName
Parameters:
config: Config - class
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

Notes

Bottom Section