BIS fnc displayName: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>") |
||
Line 17: | Line 17: | ||
|r1= [[String]] - displayName, else [[configName]] | |r1= [[String]] - displayName, else [[configName]] | ||
|x1= <code>private _myDisplayName = [configFile >> "CfgVehicles" >> typeOf vehicle player] call | |x1= <code>private _myDisplayName = [configFile >> "CfgVehicles" >> typeOf vehicle player] call BIS_fnc_displayName;</code> | ||
|seealso= [[configName]] | |seealso= [[configName]] | ||
}} | }} |
Revision as of 16:57, 13 July 2022
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:
private _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