Arma 3 Scripting

Function in Respawn

BIS_fnc_missionRespawnType

Also available as Markdown and JSON, or read the original wiki page.

Description

Return respawn type defined in Description.ext. Can return as Number (e.g 1) or String (e.g "BIRD").

Syntax

type call BIS_fnc_missionRespawnType

Parameters:

Returns: Number or String - return type depends on type

Examples

Example 1

private _respawnAsNumber = 0 call BIS_fnc_missionRespawnType;

Example 2

private _respawnAsString = "" call BIS_fnc_missionRespawnType;

See also

Arma 3: Respawn