BIS fnc loadClass: Difference between revisions
Jump to navigation
Jump to search
(page filling) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Searches for class in mission, campaign and then in global config file. |= | | Searches for class in mission, campaign and then in global config file. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [input, defaultValue] call [[BIS_fnc_loadClass]] |= | | [input, defaultValue] call [[BIS_fnc_loadClass]] |SYNTAX= | ||
|p1= '''input''': [[Array]] of [[String|Strings]] - Containing [[Config|config]] paths |= Parameter 1 | |p1= '''input''': [[Array]] of [[String|Strings]] - Containing [[Config|config]] paths |= Parameter 1 | ||
Line 17: | Line 17: | ||
| [[Config]] |= | | [[Config]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 24: | Line 24: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|[[configFile]]|= | |[[configFile]]|SEEALSO= | ||
}} | }} | ||
Revision as of 11:29, 7 April 2019
Description
- Description:
- Searches for class in mission, campaign and then in global config file.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [input, defaultValue] call BIS_fnc_loadClass
- Parameters:
- input: Array of Strings - Containing config paths
- defaultValue: Config - Default config used if input cannot be found
- Return Value:
- Config
Examples
- Example 1:
[ ["bin\config.bin"], configFile >> "Cfg3DEN" >> "Camera"] call BIS_fnc_loadClass
Additional Information
- See also:
- configFile
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