Arma 3 Scripting

Function in Spectator

BIS_fnc_EGSpectator

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

Description

Spectator instance.

Syntax

[mode, [spectator, whitelistedSides, allowAi, allowFreeCamera, allow3PPCamera, showFocusInfo, showCameraButtons, showControlsHelper, showHeader, showLists]] call BIS_fnc_EGSpectator

Parameters:

Returns: Boolean - the return value depends on the mode. For "Initialize" and "Terminate" a Boolean indicating successful execution is returned.

Examples

Example 1

["Initialize", [player]] call BIS_fnc_EGSpectator;

See also

Arma 3: End Game Spectator Mode