BIS fnc displayName: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page filling) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| 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. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [config] call [[BIS_fnc_displayName]] |= | | [config] call [[BIS_fnc_displayName]] |SYNTAX= | ||
|p1= config: [[Config]] - class |= Parameter 1 | |p1= config: [[Config]] - class |= Parameter 1 | ||
| [[String]] - displayName, else [[configName]] |= | | [[String]] - displayName, else [[configName]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 20: | Line 20: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[configName]] |= | | [[configName]] |SEEALSO= | ||
}} | }} | ||
Revision as of 12:27, 7 April 2019
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