BIS fnc respawnMenuSpectator: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Arma 3 ([^ACHJKLMTZ|])([^|]+)\]\]" to "Arma 3: $1$2")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2")
 
(11 intermediate revisions by the same user not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 1.00
|version1= 1.00


|gr1 = Respawn
|gr1= Respawn


|descr= Handles the spectator mode.
|descr= Handles the spectator mode.
Line 11: Line 10:
|s1= [player, respawnDelay] call [[BIS_fnc_respawnMenuSpectator]]
|s1= [player, respawnDelay] call [[BIS_fnc_respawnMenuSpectator]]


|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]]


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


|seealso= [[Arma 3: Respawn]]
|seealso= [[Arma 3: Respawn]]
}}
}}
[[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