| fnc_eh_firedMan.sqf | |
| Functions | |
| OCAP_recorder_fnc_eh_firedMan | Tracks bullet and non-bullet projectiles. |
| Variables | |
| OCAP_lastFired | Indicates a formatted string of the last weapon and magazine type fired by the unit. |
| Event Handlers | |
| Projectiles (Bullets) | |
| Projectiles (Non-Bullets) | |
| CBA Events | |
| Projectiles |
Tracks bullet and non-bullet projectiles. This is the code triggered when a unit firing is detected by the “FiredMan” Event Handler applied to units during OCAP_recorder_fnc_addUnitEventHandlers.
| _firer | Unit the event handler is assigned to (the instigator) [Object] |
| _weapon | Fired weapon [String] |
| _muzzle | Muzzle that was used [String] |
| _mode | Current mode of the fired weapon [String] |
| _ammo | Classname of ammo used [String] |
| _magazine | Classname of magazine used [String] |
| _projectile | Object of the projectile that was shot out [Object] |
| _vehicle | if weapon is vehicle weapon, otherwise objNull [Object] |
Nothing
[_firer, _weapon, _muzzle, _mode, _ammo, _magazine, _projectile, _vehicle] call FUNC(eh_firedMan);
No
IndigoFox, Dell
| Deleted | Makes extension call to draw a fire-line between the firer and the final destination. |
| Explode | Makes extension call to draw a fire-line between the firer and the final destination. |
| HitPart | Triggered when a projectile hits a part of a unit. Calls OCAP_recorder_fnc_eh_projectileHit. |
| HitExplosion | Triggered when a projectile explodes and damages a part of a unit. Calls OCAP_recorder_fnc_eh_projectileHit. |
| Deleted | Triggered when a non-bullet projectile is deleted. Updates marker position, then removes it 3 frames later. |
| Explode | Triggered when a non-bullet projectile explodes. Updates marker position, then removes it 3 frames later. |
| HitPart | Triggered when a projectile hits a part of a unit. Calls OCAP_recorder_fnc_eh_projectileHit. |
| HitExplosion | Triggered when a projectile explodes and damages a part of a unit. Calls OCAP_recorder_fnc_eh_projectileHit. |