setPlayerRespawnTime: Difference between revisions
Jump to navigation
Jump to search
m (Formatting, clarification) |
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>") |
||
(37 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma2oa |= | |game1= arma2oa | ||
|version1= 1.57 | |||
|1. | |game2= tkoh | ||
|version2= 1.00 | |||
| | |game3= arma3 | ||
|version3= 0.50 | |||
| | |eff= local | ||
| | |gr1= Multiplayer | ||
| | |descr= 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. | ||
| [[ | |s1= [[setPlayerRespawnTime]] interval | ||
|p1= interval: [[Number]] - respawn time in seconds | |||
| | |r1= [[Nothing]] | ||
| | |x1= <sqf>setPlayerRespawnTime 5;</sqf> | ||
| | |seealso= [[playerRespawnTime]] [[respawnVehicle]] | ||
}} | }} | ||
Latest revision as of 13:17, 5 May 2022
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.
- Groups:
- Multiplayer
Syntax
- Syntax:
- setPlayerRespawnTime interval
- Parameters:
- interval: Number - respawn time in seconds
- Return Value:
- Nothing
Examples
- Example 1:
- setPlayerRespawnTime 5;
Additional Information
- See also:
- playerRespawnTime respawnVehicle
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