点击图片可看到更多讯息
开始使用于
- 游戏:
- 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
注意事项
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 };