BIS_fnc_configPath
Jump to navigation
Jump to search
Description
Syntax
- Syntax:
- [config, format, strict] call BIS_fnc_configPath
- Parameters:
- config: Array, String or Config - input config
- format: Array, String or Config - (Optional, default [] or configNull if config is Array - see Example 1) desired format of output
- strict: Boolean - (Optional, default false) if false, the function will not attempt to construct a valid config before certain format conversions (see Example 2). Set this param to true to invoke the strict mode
- Return Value:
- Array, String or Config
Examples
- Example 1:
- ["configFile >> ""CfgVehicles"" >> ""Car"""] call BIS_fnc_configPath; // ["configFile","CfgVehicles","Car"]
- Example 2:
- [["mary", "had", "a", "little", "lamb"], ""] call BIS_fnc_configPath; // "mary >> ""had"" >> ""a"" >> ""little"" >> ""lamb"""
- Example 3:
- Example 4:
- Example 5:
- [configFile >> "CfgVehicles" >> "Car", ""] call BIS_fnc_configPath; // "configFile >> ""CfgVehicles"" >> ""Car"""
- Example 6:
- Example 7:
- Example 8:
Additional Information
- See also:
- configHierarchy
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