Difference between revisions of "VN fnc revive actions local"

From Savage Game Design Wiki
Jump to navigation Jump to search
 
Line 32: Line 32:
 
|r1d=Function reached the end
 
|r1d=Function reached the end
  
|x1= <code>[player,false,false] call vn_fnc_revive_actions_local;
+
|x1= <code>[player,false,false] call vn_fnc_revive_actions_local;</code>
[_ai,false,true] call vn_fnc_revive_actions_local;
+
|x2=<code>[_ai,false,true] call vn_fnc_revive_actions_local;</code>
[_dead_ai,true,true] call vn_fnc_revive_actions_local;</code>
+
|x3=<code>[_dead_ai,true,true] call vn_fnc_revive_actions_local;</code>
 
}}
 
}}

Latest revision as of 21:05, 26 April 2022

← 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;