BIS fnc returnConfigEntry: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
||
Line 20: | Line 20: | ||
|x1= <code>[configfile >> "Cfg3DEN" >> "Attributes" >> "ActivationType","idc"] [[call]] [[BIS_fnc_returnConfigEntry]];</code> | |x1= <code>[configfile >> "Cfg3DEN" >> "Attributes" >> "ActivationType","idc"] [[call]] [[BIS_fnc_returnConfigEntry]];</code> | ||
|[[configFile]], [[BIS_fnc_getCfg]], [[BIS_fnc_getCfgData]] | |seealso= [[configFile]], [[BIS_fnc_getCfg]], [[BIS_fnc_getCfgData]] | ||
}} | }} | ||
Revision as of 00:36, 17 February 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Configs
Syntax
- Syntax:
- Syntax needed
- 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:
- Return value needed
Examples
- Example 1:
[configfile >> "Cfg3DEN" >> "Attributes" >> "ActivationType","idc"] call BIS_fnc_returnConfigEntry;
Additional Information
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