VN_fnc_sa2_fired

From Savage Game Design Wiki
Revision as of 19:57, 26 April 2022 by Slow (talk | contribs)
(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

SA2 fired eventhandler function, does not use all parameters from the fired eventhandler

Syntax

Syntax
[player, "weapon", "muzzle", "mode", "ammo", "magazine", "projectile", gunner] call vn_fnc_sa2_fired
Parameters
_unit: Object - (Optional, default OBJNULL) Unit which the eventhandler is attached to.
_weapon: String - (Optional, default "") Weapon classname of the fired weapon.
_muzzle: String - (Optional, default "") Muzzle of the fired weapon.
_mode: String - (Optional, default "") Mode of the fired weapon.
_ammo: String - (Optional, default "") Ammo of the fired weapon.
_magazine: String - (Optional, default "") Magazine of the fired weapon.
_projectile: String - (Optional, default "") Projectile of the fired weapon.
_gunner: Object - (Optional, default OBJNULL) Unit that insigated the fired eventhandler.
Return value
Boolean - function reached the end

Examples

Example 1
[player, "weapon", "muzzle", "mode", "ammo", "magazine", "projectile", gunner] call vn_fnc_sa2_fired