Skip to content
VN_fnc_revive_actions_local

VN_fnc_revive_actions_local

Local action function for downed units and AI.

Syntax

[_unit,_remove,_ai] call VN_fnc_revive_actions_local;

Parameters

ParameterTypeDefaultDescription
_unit ObjectOBJNULL Unit to add actions to.
_remove BooleanFALSE Do you want the actions removed from the object
_ai BooleanFALSE Is this unit an AI

Return value

Boolean - Function reached the end

Examples

Example 1

[player,false,false] call vn_fnc_revive_actions_local;

Example 2

[_ai,false,true] call vn_fnc_revive_actions_local;

Example 3

[_dead_ai,true,true] call vn_fnc_revive_actions_local;

Documented by Ethan Johnson.