VN_fnc_revive_actions_local

From Savage Game Design Wiki
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Ethan Johnson
Argument(s): n/a
Effect(s): unknown

Description

Local action function for downed units and AI.

Syntax

Syntax
[_unit,_remove,_ai] call VN_fnc_revive_actions_local;
Parameters
_unit: Object - (Optional, default OBJNULL) Unit to add actions to.
_remove: Boolean - (Optional, default FALSE) Do you want the actions removed from the object
_ai: Boolean - (Optional, default FALSE) 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;