playerRespawnTime: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
m (formatted notes + formatted examples) |
||
Line 15: | Line 15: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code> | |x1= <code>[[waitUntil]] {[[playerRespawnTime]] <nowiki><=</nowiki> 0}</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 26: | Line 26: | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
When playerRespawnTime reaches zero the player respawns as expected. When the player has completed respawning this command returns -1. | <dd class="notedate">Posted on June 21, 2007 - 18:33 (CEST) | ||
<dt class="note">[[User:Sy|Sy]] | |||
<dd class="note">When playerRespawnTime reaches zero the player respawns as expected. When the player has completed respawning this command returns -1. | |||
<dt class="note">Unknown | |||
<dd class="note">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. | |||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> |
Revision as of 18:14, 26 March 2016
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
- 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.
- Unknown
- 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.