playerRespawnTime: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters") |
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|") |
||
Line 40: | Line 40: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Scripting Commands|PLAYERRESPAWNTIME]] | [[Category:Scripting Commands|PLAYERRESPAWNTIME]] | ||
[[Category:Scripting Commands | [[Category:Scripting Commands Armed Assault|PLAYERRESPAWNTIME]] | ||
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command_Group:_Multiplayer|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Multiplayer|{{uc:{{PAGENAME}}}}]] |
Revision as of 19:40, 3 June 2020
Description
- Description:
- Return the player's remaining time before respawn, or -1 if it is not available (such as when the player is alive).
- Groups:
- Uncategorised
Syntax
- Syntax:
- playerRespawnTime
- Return Value:
- Number
Examples
- Example 1:
waitUntil {playerRespawnTime <= 0};
Additional Information
- See also:
- setPlayerRespawnTime
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
Notes
- Posted on June 21, 2007 - 18:33 (CEST)
- Sy
- When playerRespawnTime reaches zero the player respawns as expected. When the player has completed respawning this command returns -1.
- Posted on February 25, 2009 - 18:33 (CEST)
- RolanDecoy
- Also note that spawning doesn't create a body to use, but allows a player to choose an already existing one as defined either in the mission editor or in a script as player or playable.