playerRespawnTime: Difference between revisions
Jump to navigation
Jump to search
m (VBS2 scripting category removal) |
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
||
Line 43: | Line 43: | ||
[[Category:Scripting Commands ArmA|PLAYERRESPAWNTIME]] | [[Category:Scripting Commands ArmA|PLAYERRESPAWNTIME]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 11:22, 2 November 2011
Description
- Description:
- Return the player remaining time to respawn.
- Groups:
- Uncategorised
Syntax
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
-
When playerRespawnTime reaches zero the player respawns as expected. When the player has completed respawning this command returns -1. --Sy 18:33, 21 June 2007 (CEST)
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'.