BIS fnc displayName: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 8: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Return given class displayName value. Return base class name if displayName not defined. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [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
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