HEROTHOR
Member
Hey there, just wondering if this would work. I really need to give something back to to the heroes. Its too hard to be a hero just by bloodbagging. Any help would be greatly appreciated!
USING local_eventKill.sqf.
Will call compile it in the main mission but here is what im thinking.
USING local_eventKill.sqf.
Will call compile it in the main mission but here is what im thinking.
Code:
//[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];
_killer setVariable[_type,(_humanity + 10),true]; <----EDIT IS HERE
};