According to the BIKI, in the EntityKilled mission event handler _instigator is objNull when something is killed via vehicular manslaughter.
As of 2.18 that no longer seems to be the case. Instigator is always the driver.
According to the BIKI, in the EntityKilled mission event handler _instigator is objNull when something is killed via vehicular manslaughter.
As of 2.18 that no longer seems to be the case. Instigator is always the driver.
addMissionEventHandler["EntityKilled", { params[["_killed",objNull,[objNull]], ["_killer",objNull,[objNull]], ["_instigator",objNull,[objNull]], ["_useEffects",false,[true]]]; #define NULLORTYPE(E) (if isNull E then [{"(NULL)"},{typeOf E}]) diag_log format["killed=%1;killer=%2;instigator=%3", typeOf _killed, NULLORTYPE(_killer), NULLORTYPE(_instigator)]; #undef NULLORTYPE }];
Using e.g. a Hunter HMG, it doesn't matter if I run a dude over or kill him with the HMG; the log output is the same with the instigator being the player.
This happens in 3DEN, MP self-hosted and MP dedicated.
Type: Public
Build: Stable
Version: 2.18.152239