playerRespawnTime

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Armed Assault version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

Description

Description:
Return the player remaining time to respawn or -1 if it is not available.

Syntax

Syntax:
playerRespawnTime
Return Value:
Number

Examples

Example 1:
waitUntil {playerRespawnTime <= 0};

Additional Information

Multiplayer:
-
See also:
setPlayerRespawnTime

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

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