vn_fnc_sa2_fired
vn_fnc_sa2_fired
SA2 fired eventhandler function, does not use all parameters from the fired eventhandler
Syntax
[
player,
"weapon",
"muzzle",
"mode",
"ammo",
"magazine",
"projectile",
gunner
] call vn_fnc_sa2_firedParameters
| Parameter | Type | Default | Description |
|---|---|---|---|
_unit |
Object | OBJNULL |
Unit which the eventhandler is attached to. |
_weapon |
String | "" |
Weapon classname of the fired weapon. |
_muzzle |
String | "" |
Muzzle of the fired weapon. |
_mode |
String | "" |
Mode of the fired weapon. |
_ammo |
String | "" |
Ammo of the fired weapon. |
_magazine |
String | "" |
Magazine of the fired weapon. |
_projectile |
String | "" |
Projectile of the fired weapon. |
_gunner |
Object | OBJNULL |
Unit that insigated the fired eventhandler. |
Return value
Boolean - function reached the end
Examples
[player, "weapon", "muzzle", "mode", "ammo", "magazine", "projectile", gunner] call vn_fnc_sa2_fired