playerRespawnTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(note format fixed)
Line 26: Line 26:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on June 21, 2007 - 18:33 (CEST)
<dd class="notedate">Posted on June 21, 2007 - 18:33 (CEST)</dd>
<dt class="note">[[User:Sy|Sy]]
<dt class="note">[[User:Sy|Sy]]</dt>
<dd class="note">When playerRespawnTime reaches zero the player respawns as expected. When the player has completed respawning this command returns -1.
<dd class="note">When playerRespawnTime reaches zero the player respawns as expected. When the player has completed respawning this command returns -1.
 
</dd>
<dt class="note">Unknown
<dd class="notedate">Posted on  February 25, 2009  - 18:33 (CEST)</dd>
<dt class="note">[[User:RolanDecoy|RolanDecoy]]</dt>
<dd class="note">Also note that spawning doesn't create a body to use, but allows a player to choose an already
<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.
existing one as defined either in the mission editor or in a script as [[player]] or playable.
 
</dd>
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 12:06, 1 July 2017

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

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.
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.

Bottom Section