Health Granted to a Specific Team [Possibly Bugged]

I have a map set to where everyone except for one person is on the same team. I’m trying to make it so that that one person (called the “boss”) has more health than everyone else. I have my health settings set like this:


Then, I have a life cycle set to on game start wired to a relay that selects a random player. Then, that relay changes the team of the player and grants them a weapon, a damage boost and is wired to a health granter to give them 200 health. It looks like this:

However, when I start the game, the player set to “boss” still has 5 health.

What am I doing wrong?

Thanks!

2 Likes

Hmmm, This one seems difficult… I dont see anything wrong myself
Is the starting health meant to be on 1%?

1 Like

Yep, it’s supposed to be that way so the players who aren’t boss are one-shot.

1 Like

Hmmm, Is the health granter towards one player or all players? or is it just not working at all?
(my brain isn’t working correctly)

1 Like

It’s set so that it affects the “boss” via a relay. However it does not grant health to anyone.

1 Like

You could make it so that on start (using a lifecycle) it would run a block code that would check if triggering players team = the bosses team number. After that, it would broadcast on channel respawn which would respawn the player on that team and give them full health.

1 Like

@SkylarCat1202 How do I create a block code? (Despite my time on this forum and GKC, I almost NEVER use blocks lol)

Also, when the players (not the “boss”) re-spawn, will they have 1% health or full health?

1 Like

this helped me out a ton discovering how to use block code

you can go back chapters if your confused

2 Likes

The other people would respawn on full health.

Is there a way to artificially set the player’s health to 5 when they re-spawn with lasers or something?

1 Like

maybe in settings?

1 Like

You could have the lifecycle run wire pulse block on a notification, then in the notification settings, make a block of code.

1 Like

I am not sure. I’ll search.

1 Like

Riptide, I was wrong, player don’t heal max health when they respawn.

1 Like

@SkylarCat1202 Perfect!

Question: on your blocks where if player is on team 2 then broadcast on respawn, what device would respawn channel trigger to respawn them? I have this:
Screenshot 2023-11-29 12.09.21 PM

2 Likes

When a player respawns, they don’t heal.

2 Likes

@SkylarCat1202
Right🤦

1 Like

I’m going to try so that like 5 seconds after the game starts it triggers the health granter.

1 Like

Aaaaaand…
It didn’t work.

1 Like

hmmm this is a good question at first i thought u were talking about team regen but this oh wow this is gonna be tough but maybe try this mechanic which i call ¨armor up¨ use whatever sets the player to be a boss connect to a relay that relays to everyone else except triggering player and connect it to a dmg modifier that sets the others at minimal damage except for the boss

2 Likes