BIS fnc respawnMenuPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Respawn(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
mNo edit summary
Line 7: Line 7:
|gr1 = Respawn |GROUP1=
|gr1 = Respawn |GROUP1=


|descr= Shows or hides respawn menu.
|descr= Shows respawn menu. Closes it if the player is alive.


|s1= [player, respawnDelay, revive] call [[BIS_fnc_respawnMenuPosition]]
|s1= [player, respawnDelay, revive] call [[BIS_fnc_respawnMenuPosition]]

Revision as of 20:07, 15 January 2021

Hover & click on the images for description

Description

Description:
Shows respawn menu. Closes it if the player is alive.
Execution:
call
Groups:
Respawn

Syntax

Syntax:
[player, respawnDelay, revive] call BIS_fnc_respawnMenuPosition
Parameters:
player: Object - Player unit
respawnDelay: Number - (Optional, default 3) Respawn delay
revive: Boolean - (Optional, default false) If unit was revived
Return Value:
Nothing

Examples

Example 1:
[player,5] call BIS_fnc_respawnMenuPosition;

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

Bottom Section