What's new

Solved Question about GSC scripting.

Status
Not open for further replies.
N

Neru

Newbie
Messages
14
Reaction score
6
I am currently working on a health counter, but when I die the self.health variable is set back to 100.
How would I go about detecting if I am dead? (This is on WaW zombies)

parse#9813 <- Feel free to add me on Discord if you are trying to collaborate on a script or chat.
 
I

ImOx

(^._.^)ノ
Retired
Messages
9,968
Reaction score
2,962
The notification "death" is sent to the player on death.
Oh, and for zombies, so the notifications "player_downed" and "player_revived" will probably also be useful.
 
Last edited:
N

Neru

Newbie
Messages
14
Reaction score
6
The notification "death" is sent to the player on death.
Oh, and for zombies, so the notifications "player_downed" and "player_revived" will probably also be useful.

Thank you for that, you responded quite quickly. I'll get working on it soon :- )
 
S

Slim Shady

Live In Your World M0D IN OURS
Retired
Messages
3,081
Reaction score
4,872
resolved.
 
Status
Not open for further replies.
Top Bottom