Arma 3 Scripting

BIS_fnc_reviveOnForcingRespawn

  • Arma 3 v1.42

Function · Markdown · JSON · original wiki page

Description

Used to execute specific code localy on every client whenever 'forcing respawn' flag changes.

Syntax

[] call BIS_fnc_reviveOnForcingRespawn

Parameters:

Returns: True if successful, false if not.

Function header

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

/*
Author: Jiri Wainar

Description:
Used to execute specific code localy on every client whenever 'forcing respawn' flag changes.

Parameters:
    _this select 0: STRING - Variable that carries the 'being revived' flag over the network, defined by macro VAR_TRANSFER_FORCING_RESPAWN.
    _this select 1: BOOL - Flag state - true or false.
    _this select 2: OBJECT - Unit to set the flag for.

Returns:
True if successful, false if not.
*/