Arma 3 Scripting

Command in Multiplayer

hasInterface

Also available as Markdown and JSON, or read the original wiki page.

Description

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

Syntax

hasInterface

Returns: Boolean

Examples

Example 1

_isHC = !(hasInterface || isDedicated);

Example 2

_isHC = !hasInterface && !isDedicated;

See also

isDedicated · isServer