#how do i make a game chip so people die in the game
8 messages · Page 1 of 1 (latest)
edit player definition board, event receiever configured to Player hit. On player hit, if bool variable, then nothing, else subtract a int variable representing health. To determine how much to subtract, "Body Part" 0 is head, 1 body, 2 left hand, & 3 right hand. So use a integer value switch to the bottom port of the subtract. Then if health less or equal to 0, then set bool variable true and add the "eliminated" role and whatever else effects you want to happen like setting HUD, etc. Delay, after delay, set the int variable health to full, remove eleminated role, bool variable false, and respawn, etc
If using only custom guns then use the event in the projectile launcher instead of the one in the pdb but if you’re using rr guns then yeah that’s the only way unfortunately
Learned recently how bad the pdb really is, it activates for all players you see get hit and to localize it you need to check if self is local and if the player shot is local
ahhh, so thats the difference between the 2. I wouldnt know bc i dont have any friends to test PvP stuff with ;w; xD
But ye pdb event should be local, thats annoying how it isnt