Difference between revisions of "VN fnc m72law"
Jump to navigation
Jump to search
(Created page with "{{Function |v= 1.00 |author=Ethan Johnson |a= |e= |g1= vn_weapons_functions |d= <pre>M72 LAW fired eventhandler function. Will wait until the player attempts to reload or...") |
(No difference)
|
Latest revision as of 01:11, 5 May 2022
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
Description
M72 LAW fired eventhandler function. Will wait until the player attempts to reload or stops holding the fire button.
Syntax
- Syntax
- [_unit,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile,_gunner] call VN_fnc_m72law;
- 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_myFunction;