BIS fnc loadClass: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(page filling) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 8: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Searches for class in mission, campaign and then in global config file. |= Description | ||
____________________________________________________________________________________________ | |||
| [input, defaultValue] call [[BIS_fnc_loadClass]] |= Syntax | |||
|p1= '''input''': [[Array]] of [[String|Strings]] - Containing [[Config|config]] paths |= Parameter 1 | |||
| | |p2= '''defaultValue''': [[Config]] - Default [[Config|config]] used if '''input''' cannot be found |= Parameter 2 | ||
| |= Return value | | [[Config]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>[ ["bin\config.bin"], [[configFile]] >> "Cfg3DEN" >> "Camera"] [[call]] '''BIS_fnc_loadClass'''</code> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | |[[configFile]]|= See also | ||
}} | |||
<h3 style="display:none">Notes</h3> | <h3 style="display:none">Notes</h3> |
Revision as of 19:15, 14 May 2018
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