BIS_fnc_returnConfigEntry

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 2 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

Description:
Explores parent classes in the run-time config for the value of a config entry.

Syntax

Syntax:
[config,attribute,defaultValue] call BIS_fnc_returnConfigEntry
Parameters:
config: Config - Starting config
attribute: String - Config attribute to be returned
defaultValue: Anything - (Optional, default Nothing) Value to be returned if attribute is not existent
Return Value:
Array, String or Number - Attribute value

Examples

Example 1:
[configfile >> "Cfg3DEN" >> "Attributes" >> "ActivationType","idc"] call BIS_fnc_returnConfigEntry;

Additional Information

Execution:
call
Multiplayer:
-
See also:
configFileBIS_fnc_getCfgBIS_fnc_getCfgData

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section