View Single Post
Author Message
Cryotheum
Junior Member
Join Date: Mar 2017
Location: Earth
Old 11-27-2019 , 04:27   [TF2] halloween_skeleton_killed Event Not Firing?
Reply With Quote #1

I am trying to make a PVE gamemode and I wanted to use skeletons (tf_zombie) as the enemies. One necessary step, is rewarding players for killing the skeletons but the only event I found that had any relation was halloween_skeleton_killed. When I tired to use it, I noticed it never fired. I had spawned in the skeleton using ent_create and thought that might have something to do with it. So I went to the map plr_hightower_event to see if the skeletons spawned on that map would cause the event to fire; and it did not. So, I tried searching for other events and found npc_hurt but that did not affect skeletons only the halloween bosses. I wanted to make sure the event was getting hooked, so I used HookEventEx to check, and it is. I've attached the code below and if anyone knows anything about why this is happening, please shed some light. Thanks.
Attached Files
File Type: sp Get Plugin or Get Source (nzombies.sp - 168 views - 1.2 KB)

Last edited by Cryotheum; 11-27-2019 at 04:57.
Cryotheum is offline