Arma 3 Scripting

BIS_fnc_reviveOnStateJIP

  • Arma 3 v1.42

Function · Markdown · JSON · original wiki page

Description

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

Syntax

[] call BIS_fnc_reviveOnStateJIP

Parameters:

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.

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