Fandom

武装突袭 Wiki

SetTriggerArea

简体 | 繁體

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

您使用了广告屏蔽软件!


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

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

  Arguments of this scripting command don't have to be local to the client the command is executed onEffects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

点击图片可看到更多讯息

开始使用于

游戏:
Armed Assault
版本:
1.00

描述

描述:
Defines the area monitored by the given trigger. The area could be either rectangular or elliptical. Since Arma 3 v1.59.135137 it is possible to define 3 dimensional area to monitor by specifying extra param for the area height (see pic).

Just like with a and b dimensions, c dimension will alter area in opposite directions from the trigger position along z axis. Therefore if the trigger position is on the surface, half of the trigger area will be above the surface and half below. To place the whole area above the surface, adjust trigger position (move it up c meters). If c is not specified or <= 0, the trigger area considered infinitely tall, like in old triggers.

基本句法

句法:
trigger setTriggerArea [a, b, angle, isRectangle, c]
参数:
trigger: Object - object of the type "EmptyDetector"

[a, b, angle, isRectangle, c]: Array

a: Number - trigger area X size / 2, in meters

b: Number - trigger area Y size / 2, in meters

angle: Number - trigger area rotation in degrees

isRectangle: Boolean - true if rectangle)

c (Optional): Number - trigger area Z size / 2, in meters         (Since Arma 3 v1.59.135137)
返回值:
Nothing
300px

范例

范例1:
_trigger setTriggerArea [100, 50, 45, false];

范例2:
Possible since Arma 3 v1.59.135137:_trigger setTriggerArea [100, 50, 45, false, 100];

额外资讯

多人游戏:
-
也可以看看:

triggerAreacreateTriggersetTriggerActivationsetTriggerStatementssetTriggerTextsetTriggerTimeoutsetTriggerTypeinArea

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?


Notes

Bottom Section

更多维基

随机维基