VN_fnc_sa2_fired
Jump to navigation
Jump to search
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
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