Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions addons/recorder/fnc_captureLoop.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ GVAR(PFHObject) = [

private _ocapId = _vehicleData select 0;

// Stop tracking parachutes/ejection seats with no crew (landed/empty)
if ((_x getVariable [QGVARMAIN(vehicleClass), ""]) isEqualTo "parachute" && _crew isEqualTo []) then {
// Stop tracking parachutes/ejection seats that are empty or dead
if ((_x getVariable [QGVARMAIN(vehicleClass), ""]) isEqualTo "parachute" && {!((alive _x) && {_crew isNotEqualTo []})}) then {
_vehicleData set [3, 0];
[":NEW:VEHICLE:STATE:", _vehicleData] call EFUNC(extension,sendData);
_x setVariable [QGVARMAIN(exclude), true, true];
Expand Down
3 changes: 3 additions & 0 deletions addons/recorder/fnc_eh_killed.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ if (!SHOULDSAVEEVENTS) exitWith {};

params ["_victim", "_killer", "_instigator"];

// Skip parachutes and ejection seats - these generate noise like "Ejection Seat destroyed by Ejection Seat"
if ((_victim getVariable [QGVARMAIN(vehicleClass), ""]) isEqualTo "parachute") exitWith {};

if !(_victim getvariable [QGVARMAIN(isKilled),false]) then {
_victim setvariable [QGVARMAIN(isKilled),true];

Expand Down
Loading