User talk:Wormsweat

From Valve Developer Community
Jump to navigation Jump to search

Headcrab burrow bug

Hello! Here are some problems with your edit to npc_headcrab. First not only sethealth 0 doesn't work but any other command that would kill it doesn't work like npc_kill npc_headcrab and ent_fire npc_headcrab removehealth 100 except addoutput "health 0" which actually sets it health to 0 so you didn't need to remove that. Now the Kill input. This behavior is normal. Any entity disappears instantly when Kill input is used on them so it wasn't necessary to mention that. And you removed the statement that weapons kill them instantly. It is true, I don't see reason why you removed that line. Gameplayer (talk) 00:21, 7 September 2024 (PDT)

Turns out any NPC does not die instantly when their health is changed with addoutput "health 0". This is another bug so I added more about it in health page. I updated the headcrab bug description to only include fact that it ignores commands and inputs that would kill it. Gameplayer (talk) 01:10, 7 September 2024 (PDT)
Thank you for the clarification. I used the ent_fire !player addoutput "health 0" command as a control for the addoutput "health 0" glitch so that's why I removed the sentence about this glitch. --Wormsweat (talk) 08:59, 7 September 2024 (PDT)