BIS fnc respawnMenuSpectator: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>")
m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )R([a-z])" to "$1r$3")
Line 12: Line 12:
|p1= player: [[Object]] - Player unit
|p1= player: [[Object]] - Player unit


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


|r1= [[Nothing]]
|r1= [[Nothing]]

Revision as of 12:32, 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