mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
From
e69f8d5306
Moved dog files to the \dog\ folder and pzombie files to the \pzombie\
folder. Also removed some legacy files that are no longer used.
The actions\ and compile\ folders are fully up to date now
14 lines
383 B
Plaintext
14 lines
383 B
Plaintext
//[unit, selectionName, damage, source, projectile]
|
|
//will only run when local to the created object
|
|
//record any key hits to the required selection
|
|
private["_killer"];
|
|
|
|
_array = _this select 0;
|
|
_zed = _array select 0;
|
|
_killer = _array select 1;
|
|
_type = _this select 1;
|
|
|
|
if (local _zed) then {
|
|
_kills = _killer getVariable[_type,0];
|
|
_killer setVariable[_type,(_kills + 1),true];
|
|
}; |