#Health System For Multiple Players

1 messages · Page 1 of 1 (latest)

timber sapphire
#

for context, everytime a player enters a trigger volume, they get 20 health taken away from their 100 until they hit zero and respawn in the lobby. I already got the system down, but I ran into a problem where the player port for most of the cv2 was the player that last entered the trigger volume, meaning that if someone got down to 20 health, you could hit someone else (who is supposed to be at full health) with the trigger volume and they would die despite supposedly being on full health. I've tried cloning the health system so each person gets their own but that feels like too much. I was wondering if there were any simpler options to solve this problem?

timber sapphire
solid swallow
#

trigger volume

timber sapphire
thick vigil
thick vigil
#

please dont do this

#

delays will sometimes fail for multiple reasons
if at any time in your game an error occurs this delay will stop running
sometimes delays also just stop working for whatever reason
this also applies to net and cpu overheating
dont do this its bad