Difference between revisions of "cmf common fnc getConfigParam"

From cluster wiki
Jump to navigation Jump to search
(Created page with "{{CMF Function |game1=arma3 |version1=0.50 |game2=cmf3 |version2=2.1.0 |descr=Returns the config parameter at the given path |exec=Call |cmp=common |s1=[Path] call cmf...")
 
 
(One intermediate revision by the same user not shown)
Line 19: Line 19:
|r1= Parameter Value: [https://community.bistudio.com/wiki/Any Any]
|r1= Parameter Value: [https://community.bistudio.com/wiki/Any Any]


|x1= {{code|lang=scilab|[["SETTINGS", "init", "CLEAR_VEHICLE_CARGO"]] call [[cmf_common_fnc_getConfigParam]]}}
|x1= {{code|lang=scilab|[["SETTINGS", "init", "CLEAR_VEHICLE_CARGO"]] call cmf_common_fnc_getConfigParam}}
 
|seealso= [[cmf_common_fnc_isRole]] [[cmf_common_fnc_setCallsign]] [[cmf_common_fnc_setRole]]


|var1= {{!}} GLOBAL {{!}}{{!}} missionNameSpace {{!}}{{!}} cmf_common_configParameters{{!}}{{!}} a hashmap that can be used to overwrite EMF config settings or to define new ones in missionTime
|var1= {{!}} GLOBAL {{!}}{{!}} missionNameSpace {{!}}{{!}} cmf_common_configParameters{{!}}{{!}} a hashmap that can be used to overwrite EMF config settings or to define new ones in missionTime
}}
}}

Latest revision as of 21:34, 17 December 2022


Hover & click on the images for description
Description
Description:
Returns the config parameter at the given path
Execution:
Call
Groups:
CMF3: common
Syntax
Syntax:
[Path] call cmf_common_fnc_getConfigParam
Parameters:
Path: Array
Return Value:
Parameter Value: Any
Examples
Example 1:
[["SETTINGS", "init", "CLEAR_VEHICLE_CARGO"]] call cmf_common_fnc_getConfigParam
Additional Information
See also:
cmf_common_fnc_isRole cmf_common_fnc_setCallsign cmf_common_fnc_setRole
Internal Variables
Locality Namespace Name Description
GLOBAL missionNameSpace cmf_common_configParameters a hashmap that can be used to overwrite EMF config settings or to define new ones in missionTime
Events
No events
Notes