playerRespawnTime: Difference between revisions
Jump to navigation
Jump to search
m (formatted notes + formatted examples) |
Killzone Kid (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Return the player remaining time to respawn. |= Description | | Return the player remaining time to respawn or -1 if it is not available. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | '''playerRespawnTime''' |= Syntax | ||
| [[Number]] |= Return value | | [[Number]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[waitUntil]] {[[playerRespawnTime]] | |x1= <code>[[waitUntil]] {[[playerRespawnTime]] <= 0};</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 11:00, 1 July 2017
Description
- Description:
- Return the player remaining time to respawn or -1 if it is not available.
- 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.
- 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.