BIS fnc respawnMenuSpectator: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "^ {{Function\|Comments\=" to "{{Function|Comments=")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2")
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= Respawn
____________________________________________________________________________________________


| ''N/A''<br>{{placeholder}} |DESCRIPTION=
|descr= Handles the spectator mode.
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_respawnMenuSpectator]]; --> |SYNTAX=
|s1= [player, respawnDelay] call [[BIS_fnc_respawnMenuSpectator]]


|p1= |PARAMETER1=
|p1= player: [[Object]] - player unit


| |RETURNVALUE=
|p2= respawnDelay: [[Number]] - (Optional, default 3) respawn delay
____________________________________________________________________________________________


|x1= <code></code> |=
|r1= [[Nothing]]
____________________________________________________________________________________________


| |SEEALSO=
|x1= <sqf>[player,5] call BIS_fnc_respawnMenuSpectator;</sqf>


|seealso= [[Arma 3: Respawn]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Respawn|{{uc:respawnMenuSpectator}}]]
[[Category:Functions|{{uc:respawnMenuSpectator}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:respawnMenuSpectator}}]]

Latest revision as of 15:45, 8 November 2023

Hover & click on the images for description

Description

Description:
Handles the spectator mode.
Execution:
call
Groups:
Respawn

Syntax

Syntax:
[player, respawnDelay] call BIS_fnc_respawnMenuSpectator
Parameters:
player: Object - player unit
respawnDelay: Number - (Optional, default 3) respawn delay
Return Value:
Nothing

Examples

Example 1:
[player,5] call BIS_fnc_respawnMenuSpectator;

Additional Information

See also:
Arma 3: Respawn

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