VN_fnc_revive_action_grenade

From Savage Game Design Wiki
Revision as of 14:05, 30 January 2021 by Lou Montana (talk | contribs) (Page filling)
(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): global

Description

Player action function for grenade suicide.

Syntax

Syntax
[suicider, type] call VN_fnc_revive_action_grenade
Parameters
suicider: Object - (Optional, not used - uses player) the unit that the action is being performed on
type: Number - the type of performed action:
  • 1: action started
  • 2: action tick (see VN_fnc_holdActionAdd)
  • 3: action completed
  • 4: action interrupted
Return value
Boolean - true when done

Examples

Example 1
[objNull, 3] call VN_fnc_revive_action_grenade;