武装突袭 Wiki
注册
Advertisement
  

点击图片可看到更多讯息

开始使用于

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

描述

描述:
Returns true if the computer has an interface (a real player). False for a dedicated server or for a headless client.

基本句法

句法:
hasInterface
返回值:
Boolean

范例

范例1:
headless = !(hasInterface || isDedicated);
范例2:
_isHC = !hasInterface && !isDedicated;

额外资讯

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

注意事项

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

Notes

Bottom Section

Posted on December 21, 2014 - 14:55 (UTC)
Killzone Kid
if (isDedicated) then { //run on dedicated server only }; if (isServer) then { //run on dedicated server or player host }; if (hasInterface) then { //run on all player clients incl. player host }; if (!isDedicated) then { //run on all player clients incl. player host and headless clients }; if (!isServer) then { //run on all player clients incl. headless clients but not player host }; if (!hasInterface) then { //run on headless clients and dedicated server }; if (!hasInterface && !isDedicated) then { //run on headless clients only };
Advertisement