VN_fnc_revive_actions_local

From Savage Game Design Wiki
Revision as of 21:04, 26 April 2022 by Slow (talk | contribs) (Created page with "{{Function |v= 1.00 |author=Ethan Johnson |a= |e= |g1= advanced_revive_functions |d= <pre>Local action function for downed units and AI.</pre> |s= [_unit,_remove,_ai] ca...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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; [_ai,false,true] call vn_fnc_revive_actions_local; [_dead_ai,true,true] call vn_fnc_revive_actions_local;