BIS fnc respawnMenuPosition: Difference between revisions

From Bohemia Interactive Community
m (1 revision)
m (Some wiki formatting)
 
(37 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Respawn


|1.00|= Game version
|descr= Shows respawn menu. Closes it if the player is alive.
____________________________________________________________________________________________


| ''N/A'' |= Description
|s1= [player, respawnDelay, revive] call [[BIS_fnc_respawnMenuPosition]]
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_respawnMenuPosition]]; --> |= Syntax
|p1= player: [[Object]] - player unit


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


| |= Return value
|p3= revive: [[Boolean]] - (Optional, default [[false]]) if unit was revived
____________________________________________________________________________________________


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


| |= See also
|x1= <sqf>[player,5] call BIS_fnc_respawnMenuPosition;</sqf>


|seealso= [[Arma 3: Respawn]]
}}
}}


<h3 style="display:none">Notes</h3>
{{Note
<dl class="command_description">
|user= Ilias38rus
<!-- Note Section BEGIN -->
|timestamp= 20210115181400
 
|text= Use <sqf inline>setPlayerRespawnTime 0;</sqf> to respawn on selected position (certain gets selected by default), or position of death, if there is no the RP-s.
<!-- Note Section END -->
}}
</dl>
 
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Respawn|{{uc:respawnMenuPosition}}]]
[[Category:Functions|{{uc:respawnMenuPosition}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:respawnMenuPosition}}]]

Latest revision as of 05:51, 15 November 2025

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
Ilias38rus - c
Posted on Jan 15, 2021 - 18:14 (UTC)
Use setPlayerRespawnTime 0; to respawn on selected position (certain gets selected by default), or position of death, if there is no the RP-s.