---
name: "BIS_fnc_reviveOnStateJIP"
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_reviveOnStateJIP
revid: 274408
updated: 2021-06-13T01:22:08Z
---

# BIS_fnc_reviveOnStateJIP

*Function · Revive · Arma 3 v1.42*

## Description

Used to execute state specific code localy on client that is JIPping.

## Syntax

```sqf
[] call BIS_fnc_reviveOnStateJIP
```

**Parameters:**

- `param0` — 0: STRING - Variable that carries the state value over the network, defined by macro VAR_TRANSFER_STATE.
- `param1` — 1: SCALAR - State.
- `param2` — 2: OBJECT - Unit to set the status for.

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

States:
    #define STATE_RESPAWNED            0
    #define STATE_REVIVED            1
    #define STATE_INCAPACITATED        2
    #define STATE_DEAD                3

## 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 state specific code localy on client that is JIPping.

Parameters:
    _this select 0: STRING - Variable that carries the state value over the network, defined by macro VAR_TRANSFER_STATE.
    _this select 1: SCALAR - State.
    _this select 2: OBJECT - Unit to set the status for.

Returns:
True if successful, false if not.

States:
    #define STATE_RESPAWNED            0
    #define STATE_REVIVED            1
    #define STATE_INCAPACITATED        2
    #define STATE_DEAD                3
*/
```

<sub>Source: [BI Community Wiki — BIS fnc reviveOnStateJIP](https://community.bistudio.com/wiki/BIS_fnc_reviveOnStateJIP) (revision 274408).</sub>
