Skip to content
vn_ms_fnc_tracker_onPlayerFired

vn_ms_fnc_tracker_onPlayerFired

Handles fired event to notify patrolling units etc.

Syntax

[
    _unit,
    _weapon,
    _muzzle,
    _mode,
    _ammo,
    _magazine,
    _projectile,
    _gunner
] call vn_ms_fnc_tracker_onPlayerFired;

Parameters

ParameterTypeDefaultDescription
_unit Object— Object the event handler is assigned to
_weapon String— Fired weapon
_muzzle String— Muzzle that was used
_mode String— Current mode of the fired weapon
_ammo String— Ammo used
_magazine String— magazine name which was used
_projectile Object— Object of the projectile that was shot out
_gunner Object— Gunner whose weapons are firing

Documented by Wyqer, veteran29.