//Eggbeast kill action - inspired by DayZ scripts by Rocket

//kill target 
Tman = _this select 0;
_player = _this select 1;

Tman removeAction EB_player_kill;
player_kill = -1;

_player playActionNow "GesturePoint";
Tman setdamage 1;
playsound "kill";
if (_player distance Tman > 2) then 
{
	hintsilent "Knife thrown";
	_player removemagazine "EB_knife";
	Tman addMagazine "EB_knife";
	_player addscore 2
} else
{
	hintsilent "Stealth kill";
	_player addscore 4
};

/*
"walkf" - walk forward
"walkb" - walk backwards
"walkr" - strafe right
"walkl" - strafe left
"grabdrag" - initiate First Aid dragging animation
"stopdrag" - stops First Aid dragging animation
"reloadMagazine" - reloads the current magazine
"gestureFreeze" - hand signal "Freeze"
"GestureGo"
"GestureCover"
"GestureAttack"
"GestureCeaseFire"
"GestureFollow"
"GestureUp"
"GestureAdvance"
"GesturePoint"
*/
