BIS fnc respawnMenuPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 31: Line 31:
[[Category:Functions|{{uc:respawnMenuPosition}}]]
[[Category:Functions|{{uc:respawnMenuPosition}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:respawnMenuPosition}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:respawnMenuPosition}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on January 15, 2021 - 18:14 (UTC)</dd>
<dt class="note">[[User:Ilias38rus|Ilias38rus]]</dt>
<dd class="note">
Use `setPlayerRespawnTime 0;` to respawn on selected position (certain gets selected by default), or position of death, if there is no the RP-s .
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 20:14, 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

Posted on January 15, 2021 - 18:14 (UTC)
Ilias38rus
Use `setPlayerRespawnTime 0;` to respawn on selected position (certain gets selected by default), or position of death, if there is no the RP-s .