BIS fnc configExtremes: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|(arg|eff|serverExec|mp|seealso)= " to "") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=") |
||
Line 21: | Line 21: | ||
|p4= propertyDefaults (Optional): [[Array]] of [[Number]]s - value to be used in cases where the property at the respective index is not defined. Default: 0 | |p4= propertyDefaults (Optional): [[Array]] of [[Number]]s - value to be used in cases where the property at the respective index is not defined. Default: 0 | ||
| [[Array]] - [minValues, maxValues] where minValues and maxValues are arrays respective to the properties array. | |r1=[[Array]] - [minValues, maxValues] where minValues and maxValues are arrays respective to the properties array. | ||
|x1= <code>[<nowiki>[</nowiki>[[configFile]] >> "cfgWeapons"] call [[BIS_fnc_returnChildren]], ["maxRange","reloadTime"]] call [[BIS_fnc_configExtremes]];</code> | |x1= <code>[<nowiki>[</nowiki>[[configFile]] >> "cfgWeapons"] call [[BIS_fnc_returnChildren]], ["maxRange","reloadTime"]] call [[BIS_fnc_configExtremes]];</code> | ||
}} | }} |
Revision as of 20:25, 10 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Configs
Syntax
- Syntax:
- Syntax needed
- Parameters:
- paths: Array of Configs - paths to be scanned.
- properties: Array of Strings - class names of properties to be evaluated.
- propertyTypes (Optional): Array of Booleans - whether the property at the respective index should be evaluated and returned as a logarithmic number. Default: false
- propertyDefaults (Optional): Array of Numbers - value to be used in cases where the property at the respective index is not defined. Default: 0
- Return Value:
- Array - [minValues, maxValues] where minValues and maxValues are arrays respective to the properties array.
Examples
- Example 1:
[[configFile >> "cfgWeapons"] call BIS_fnc_returnChildren, ["maxRange","reloadTime"]] call BIS_fnc_configExtremes;
Additional Information
- See also:
- See also needed
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