Fandom

武装突袭 Wiki

BIS_fnc_configExtremes

简体 | 繁體

4,827个页面创建
于此维基上
添加新页面
评论0 分享

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

Introduced with Arma 3 version 1.36
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.36

Description

Description:
Scan config paths and return min and max values for each property.
Can be used only for properties of type Number and Array (value is considered to be the geometric mean of all numbers in the array).

Syntax

Syntax:
[paths, properties, (propertyTypes, propertyDefaults)] call BIS_fnc_configExtremes
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

Execution:
call
Multiplayer:
-
See also:

See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section

更多维基

随机维基