In my RPG map, if you get knocked out three times, you are permanently eliminated. However, I only want it to make you a spectator if you are on a specific team. I don’t know how to do this because I’m bad. How do I do this?
The only way I can think of doing this is by using a property as a team marker, then checking for it when the player has been knocked out 3 times and going from there.
Lifecycle (player knocked out) → relay (the team)
Relay → team switcher (spectator)
That would turn the whole team into spectators.
Then make one player per team?
but there needs to be multiple players on teams
I’ll try this
Hey, real gim, even better way: give all of team one a black seed.
Player koed → check if black seed.
If black seed : spectarot
You would want a player scoped property named “Lives”
set the default amount to however many lives you want everyone to have by default
get a lifecycle device that occurs on “Player Knocked Out”
wire it to an trigger that is invisible and cannot be triggered on player colision.
Write this blockcode into the trigger:
Ok I’ll try it
I’ll try that too
You can check team numbers with block code
Let me check and see if I can get an image up though
Basically after a person is knocked out 3 times (you can do that with life cycle and counter, or knockout manager and counter), send a channel to a trigger with this block code. Of course you can change the number to whatever you need, but after if it lines up, broadcast a message that changes the player to spectator.
Hopefully this helps!
That one worked the best
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.