Fandom

武装突袭 Wiki

SetTriggerStatements

简体 | 繁體

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 trigger condition, activation and deactivation statements. Trigger condition has to return Boolean. true will activate the trigger, false will deactivate it (only if activation is set to repeat). thisList returns the same result as list command, which includes all entities in the trigger area that are capable of activating the trigger. Dead entities are excluded as well as crew in vehicles, vehicles themselves are included.

基本句法

句法:
trigger setTriggerStatements [condition, activation, deactivation]
参数:
trigger: Object - Trigger object

[condition, activation, deactivation]: Array

condition: String - Code containing trigger condition. Special variables available here:

activation: String - Code that is executed when the trigger is activated. Special variables available here:

deactivation: String - Code that is executed when the trigger is deactivated. Special variable available here:

返回值:

Nothing

范例

范例1:
_trg setTriggerStatements ["this", "hint 'trigger on'", "hint 'trigger off'"]

额外资讯

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

triggerStatementscreateTriggersetTriggerActivationsetTriggerAreasetTriggerTextsetTriggerTimeoutsetTriggerTypethisthisListthisTrigger

注意事项

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

Notes

Posted on Mar 14, 2011 - 20:52
Scifer
An array with three arguments is mandatory for this function.

Bottom Section

Posted on September 16, 2014 - 17:41 (UTC)
Heeeere's Johnny!
Magic variable thisList does not contain dead units.

更多维基

随机维基