Fandom

武装突袭 Wiki

AddMPEventHandler

简体 | 繁體

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 broadcasted over the network and happen on every computer in the network

点击图片可看到更多讯息

开始使用于

游戏:
Arma 2: Operation Arrowhead
版本:
1.55

描述

描述:
The format of handler is [type,command]. Check scripting topic Event handlers for more information. The index of the current handler is returned.

基本句法

句法:
unitName addMPEventHandler [type, command]
参数:
unitName: Object - object to monitor

type: String - event handler name

command: String or Code - code to execute
返回值:
Number

范例

范例1:
_index = player addMPEventHandler ["mpkilled", {Null = _this execVM "playerkilled.sqf";}];

额外资讯

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

EventHandlers listremoveMPEventHandlerremoveAllMPEventHandlers

注意事项

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

Notes

Bottom Section

Posted on May 8, 2015 - 12:24 (UTC)
Killzone Kid
MP EHs are added on every PC and execute on every PC, apart from MPRespawn, that only executes at the locality where unit respawns.

更多维基

随机维基