BIS fnc displayName: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Misc(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
m (class -> config path, should prevent confusion with classname) |
||
Line 14: | Line 14: | ||
| [config] call [[BIS_fnc_displayName]] |SYNTAX= | | [config] call [[BIS_fnc_displayName]] |SYNTAX= | ||
|p1= config: [[Config]] - | |p1= config: [[Config]] - config path |PARAMETER1= | ||
| [[String]] - displayName, else [[configName]] |RETURNVALUE= | | [[String]] - displayName, else [[configName]] |RETURNVALUE= |
Revision as of 15:34, 22 October 2020
Description
- Description:
- Return given class displayName value. Return base class name if displayName not defined.
- 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