setPlayerRespawnTime

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 2: Operation Arrowhead version 1.57
  Effects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 2: Operation Arrowhead
Version:
1.57

Description

Description:
Sets the time interval (in seconds) that the player must wait before respawn. It resets to mission default on mission start. In Single Player or when respawn type is GROUP or SIDE in Multiplayer, setting player respawn time has no effect, and playerRespawnTime will always return -1.

Syntax

Syntax:
setPlayerRespawnTime interval
Parameters:
interval: Number - respawn time in seconds
Return Value:
Nothing

Examples

Example 1:
setPlayerRespawnTime 5;

Additional Information

Multiplayer:
-
See also:
playerRespawnTimerespawnVehicle

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

Bottom Section