fnc_getInstigator.sqf

Summary
fnc_getInstigator.sqf
Functions
OCAP_recorder_fnc_getInstigatorAttempts to identify who truly pulled the trigger on a kill event.

Functions

OCAP_recorder_fnc_getInstigator

Description

Attempts to identify who truly pulled the trigger on a kill event.

Called in OCAP_recorder_fnc_eh_killed.

Parameters

_victimWho was killed.  [Object]
_killerWhat caused the damage.  [Object, default objNull]
_instigatorWho pulled the trigger, as reported by Arma.  [Object, default objNull]

Returns

The true killer.  [Object]

Examples

[_victim, _killer] call FUNC(getInstigator);

Public

No

Author

Dell

Tracks when a unit is killed.
Close