BIS fnc EGSpectator: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Function " to "{{RV|type=function ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ") |
||
Line 32: | Line 32: | ||
|p9= showControlsHelper: [[Boolean]] - (Optional, default true) - Whether to show controls helper widget | |p9= showControlsHelper: [[Boolean]] - (Optional, default true) - Whether to show controls helper widget | ||
|p10= showHeader: [[Boolean]] - (Optional, default true) - Whether to show header widget | |p10= showHeader: [[Boolean]] - (Optional, default true) - Whether to show header widget | ||
|p11= showLists: [[Boolean]] - (Optional, default true) - Whether to show entities / locations lists | |p11= showLists: [[Boolean]] - (Optional, default true) - Whether to show entities / locations lists | ||
|[[Boolean]] - Return value depends on mode. For Initialize and terminate it returns boolean depending on whether or not execution was successful | |[[Boolean]] - Return value depends on mode. For Initialize and terminate it returns boolean depending on whether or not execution was successful | ||
Revision as of 18:12, 29 January 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Spectator
Syntax
- Syntax:
- Syntax needed
- Parameters:
- mode: String - Mode, can be
- "Initialize"
- "Terminate"
- 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:
- See also needed
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