so I'm making a map where when a monster dies, the player also dies from let's say, a presumed heart attack, I only just want the player's health to reach 0;
I tried to do that with the following code:
#include "zcommon.acs"
script 1 OPEN
{
Thing_Damage(20,5,0);
}
it doesn't really do anything, but i set the player's tag as 20, and added the placeholder value of 5 in terms of damage, the 0 was a thing i forgot to remove from the," uh "zdoom wiki" cool coding skills section of my brain.
Thanks in advance for any comment!