mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
27 lines
575 B
Plaintext
27 lines
575 B
Plaintext
/*
|
|
* Author: Glowbal
|
|
*
|
|
*
|
|
* Arguments:
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
params ["_object"];
|
|
if (!isServer) exitwith {};
|
|
|
|
systemChat format["handleKilled: %1 ", _object];
|
|
diag_log format["handleKilled: %1 ", _object];
|
|
private _ownedDevices = _object getvariable [QGVAR(ownedDevices), []];
|
|
|
|
{
|
|
systemChat format["raising event vehicleDeviceKilled: %1 ", _x];
|
|
diag_log format["raising event vehicleDeviceKilled: %1 ", _x];
|
|
["bft_vehicleDeviceKilled", [_x]] call EFUNC(common,globalEvent);
|
|
} forEach _ownedDevices;
|