---
name: "BIS_fnc_reviveOnForcingRespawn"
type: function
status: ok
groups: ["Revive"]
arma3_since: "1.42"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_reviveOnForcingRespawn
revid: 274406
updated: 2021-06-13T01:22:07Z
---

# BIS_fnc_reviveOnForcingRespawn

*Function · Revive · Arma 3 v1.42*

## Description

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

## Syntax

```sqf
[] call BIS_fnc_reviveOnForcingRespawn
```

**Parameters:**

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

**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.

```sqf
/*
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.
*/
```

<sub>Source: [BI Community Wiki — BIS fnc reviveOnForcingRespawn](https://community.bistudio.com/wiki/BIS_fnc_reviveOnForcingRespawn) (revision 274406).</sub>
