BIS fnc respawnMenuPosition: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
| (33 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{RV|type=function | |||
|game1= arma3 | |||
|version1= 1.00 | |||
| | |gr1= Respawn | ||
| | |descr= Shows respawn menu. Closes it if the player is alive. | ||
| | |s1= [player, respawnDelay, revive] call [[BIS_fnc_respawnMenuPosition]] | ||
| | |p1= player: [[Object]] - player unit | ||
| | |p2= respawnDelay: [[Number]] - (Optional, default 3) respawn delay | ||
| | |p3= revive: [[Boolean]] - (Optional, default [[false]]) if unit was revived | ||
| | |r1= [[Nothing]] | ||
| | |x1= <sqf>[player,5] call BIS_fnc_respawnMenuPosition;</sqf> | ||
|seealso= [[Arma 3: Respawn]] | |||
}} | }} | ||
{{Note | |||
|user= Ilias38rus | |||
< | |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. | |||
}} | |||
</ | |||
Latest revision as of 05:51, 15 November 2025
Description
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:
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
- 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.