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.
Question
Manapro
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:
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!
Share this post
Link to post
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.