View Single Post
Cryotheum
Junior Member
Join Date: Mar 2017
Location: Earth
Old 12-03-2019 , 11:18   Re: [TF2] halloween_skeleton_killed Event Not Firing?
Reply With Quote #4

Quote:
Originally Posted by Mitchell View Post
I think I had this issue also back in like 2014. Event didn't fire so I had to use SDKHooks OnTakeDamage and just do some quick math of the damage the skeleton was taking and it's current HP to determine who the killer was. OnEntityDestroyed() might also give you something also but not as much as just hooking the damage of the skeleton entities after they spawn.
Yeah, that's how I dealt with the problem but the event would have been perfect as I just needed to know who killed the skeleton. Supposedly I could detour CZombie::Event_Killed but honestly this is much easier.
__________________
Code:
function number isEven(Number:number)
{
	#[Date: Oct 2 2016
	Purpose: Checks if a number is even! ]#
	if (Number==2) {return 1}
	if (Number==4) {return 1}
	if (Number==6) {return 1}
	if (Number==8) {return 1}
	...
Cryotheum is offline