I need help for a PVP health mechanic

I want to make it so if a player knocks out another player, they receive at least half the health the other player had. The health given would be based from the damage dealt.

4 Likes

Maybe a knockout device.

When a player eliminates another use a health granter to give health to the player.

(Edit)

Another player’s health at least half?
Yeah I’m sorry but idk how to do this.

also wdym by “at least” do you want a random amount as long as it’s above half?

I like this idea of siphon, but idk how to track player health or projectiles shot.

i don’t know about health but you can use a lifecycle and a counter to track gadget shots.

Well if you know how to track projectiles, then you can set an amount of health granted based off the item.

the issue would be what if they missed a shot

1 Like

While this idea is amazing, I think it would be a lot easier (and feasible) to do a set amount of siphon.

HEY what if they got hearts and if they die they lose a heart/redseed and the killer collects their heart giving them more health kinda like life steal

Another question, do you mean how much he had when they started combat? because if you do how much before he got knocked out that’s gonna be like none

1 Like

Place a lifecycle and a health granger make it when player knocks out grant the health you want and wire them together

:man_facepalming: he wants a specific amount depending on an amount of health the player wanted at some point, it would’ve been solved already if it was that simple.

1 Like

Well like I was saying was what if they had Pseudo health, their health would be 3 seeds and every time they die they lose a seed and the seed goes to the killer

yeah but he wanted a specific amount of health as I said earlier

well I do not think we can track how much health someone has unless we use Pseudo which was my idea

that is correct but we still need the creator to tell us from what point he want’s “at least half their health” from

You can’t track a player’s health even if you use pseudo. You would need to somehow track the amount of damage the gadget does and count the amount of times the gadget hits to track the amount of health the player had left.

Use some sort of system to track each players health, lifecycle for knockout, when lifecycle give place knocks out stuff.

I don’t get it at all, I’m just an artist.

what do you mean? yes you can

1 Like

wait, wait no, no you can’t
my bad