BIS fnc displayName: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
Lou Montana (talk | contribs) m (Text replacement - " <nowiki>[</nowiki>" to " [<nowiki/>") |
||
Line 17: | Line 17: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_myDisplayName = <nowiki | |x1= <code>_myDisplayName = [<nowiki/>[[configFile]] >> "CfgVehicles" >> [[typeOf]] [[vehicle]] [[player]]] [[call]] [[BIS_fnc_displayName]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 12:46, 19 March 2020
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