FANDOM


A parameter is a value that was passed to the actual script. All parameters (if any) are accessible over the array _this.


Example:

[5, "string"] execVM "script.sqf"


script.sqf

_number = _this select 0;
_string = _this select 1;

_number and _string are considered the parameters of the script, and are filled with the values that were provided in the array. _number now contains the value 5, while _string now contains the value string.

See also 编辑

您使用了广告屏蔽软件!


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

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

查看其他FANDOM

随机维基