Fandom

武装突袭 Wiki

This

简体 | 繁體

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

您使用了广告屏蔽软件!


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

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


_this编辑

  • In Scripts/Functions: The given arguments that were passed by a call, exec, execVM or spawn.
    For the arguments in scripts executed by mission-made actions or Event Handlers, check addAction and Event Handlers.
  • In Addons' config files: An array with the current object as its first (and only) element.
  • In Addons' custom UserActions: Unit that is activating the action.
  • In Dialogs: An array with the current control as its first (and only) element (only available during runtime).

_thisScript编辑

Introduced with Arma 3 version 1.54

_thisFSM编辑

Introduced with Arma 3 version 1.54
  • In FSM executed by execFSM, this variable stores FSM ID (the same as is returned by execFSM command).

this编辑

  • In Addons' config files (e.g. UserActions, onInit, etc.): The object the entry belongs to.
  • In Dialogs: The player unit that activated control (e.g. via mouseEnter). false if non-activated.
  • In Object's "Init" line: The object the init line belongs to.
  • In Triggers
    • "Condition" line: The Boolean return value of the trigger's conditions (e.g. "East Not Present" etc).
    • "On Activation/Deactivation" line: Seems to always return false.
  • In Waypoints
    • "Condition" or "On Activation/Deactivation" line: The group leader that completed the respective waypoint (or driver, if waypoint is assigned to a vehicle).

thisList编辑

  • In Triggers ("Condition" or "On Activation/Deactivation" line): An Array of objects that are currently fulfilling the trigger's condition (same as the what is returned by the list command).
  • In Waypoints ("Condition" or "On Activation" line): An Array containing all group members that completed the respective waypoint.
    (thisList in a trigger's deactivation field seems to be undefined, and should not be used. It will either return an empty array, or possibly the contents of a different trigger.)

thisTrigger编辑

  • In Triggers ("Condition" or "On Activation/Deactivation" line): thisTrigger refers to the trigger itself.

See Also编辑

About "This" A detailed tutorial by General Barron on the various forms of 'this' and where to use them.

更多维基

随机维基