Difference between revisions of "VN fnc revive actions local"
Jump to navigation
Jump to search
(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...") |
|||
(One intermediate revision by the same user not shown) | |||
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> |
− | + | |x2=<code>[_ai,false,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 |
|
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;