Arma 3 Scripting

BIS_fnc_respawnRounds

  • Arma 3 v1.00

Function · Markdown · JSON · original wiki page

Description

Disable respawn until players of only one side (including its allies) remains, then respawn everyone at once. When "Rounds" respawn is used by only one side, wait until all its players are dead.

Syntax

syntax inferred from the function header

arg call BIS_fnc_respawnRounds

Parameters:

Returns:

Function header

The comment at the top of the function's file in the game; this page's description, params, syntax come from it.

/*
Description:
Disable respawn until players of only one side (including its allies) remains, then respawn everyone at once.
When "Rounds" respawn is used by only one side, wait until all its players are dead.

Parameter(s):
    BOOL - true to force round end
    SIDE - use any side to return side affected by round system (based on description.ext respawnTemplates settings)
    ARRAY - empty array to return if a round is still on (players of more than one involved faction are alive)
*/