VN_fnc_m72law
VN_fnc_m72law
M72 LAW fired eventhandler function. Will wait until the player attempts to reload or stops holding the fire button.
Syntax
[
_unit,
_weapon,
_muzzle,
_mode,
_ammo,
_magazine,
_projectile,
_gunner
] call VN_fnc_m72law;Parameters
| 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_myFunction;