BIS fnc EGSpectator: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "\[\[Arma 3 ([^ACHJKLMTZ|])([^|]+)\]\]" to "Arma 3: $1$2")
Line 39: Line 39:
|x1= <code>[ "Initialize", [<nowiki/>[[player]] ] ] [[call]] [[BIS_fnc_EGSpectator]];</code>
|x1= <code>[ "Initialize", [<nowiki/>[[player]] ] ] [[call]] [[BIS_fnc_EGSpectator]];</code>


|seealso= [[Arma 3 End Game Spectator Mode]]
|seealso= [[Arma 3: End Game Spectator Mode]]
}}
}}

Revision as of 20:08, 7 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Spectator

Syntax

Syntax:
Syntax needed
Parameters:
mode: String - Mode, can be
  • "Initialize"
  • "Terminate"
There are more options available. See the ingame functions viewer for what they do. Following parameters are for "Initialize"
specatator: Object - Player
whitelistedSides: Array - (Optional, default []) - Sides player can spectate
allowAi: Boolean - (Optional, default true) - Whether AI can be viewed by the spectator
allowFreeCamera: Boolean - (Optional, default true) - Whether Free camera mode is available
allow3PPCamera: Boolean - (Optional, default true) - Whether 3th Person Perspective camera mode is available
showFocusInfo: Boolean - (Optional, default true) - Whether to show Focus Info stats widget
showCameraButtons: Boolean - (Optional, default true) - Whether or not to show camera buttons widget
showControlsHelper: Boolean - (Optional, default true) - Whether to show controls helper widget
showHeader: Boolean - (Optional, default true) - Whether to show header widget
showLists: Boolean - (Optional, default true) - Whether to show entities / locations lists
Return Value:
Return value needed

Examples

Example 1:
[ "Initialize", [player ] ] call BIS_fnc_EGSpectator;

Additional Information

See also:
Arma 3: End Game Spectator Mode

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note