I have a system I need for when a player is knocked out, they need to be rescued by a teammate. The Teammate has to use a collectable item to save them. I tried for 15 minutes to try to come up with something, but I can’t get it to work. Here are 2 ways you can do it
The more players who are knocked out, the more the price of reviving will increase as well.
Ex. 1 player trapped - Price to revive = 1 item. 4 players trapped - Price to revive = 4 items
The Price to Revive is always 1, and it will revive 1 random player who is waiting for respawn
The Game is Co-op, so If you need to use different teams to change the knocked out players to other teams, that is available to you.
Counter! No, seriously.
This bad boy can help you track things like time, players, and- hey! It can track knockouts too?
Grab a knockout manager and wire it to a counter, so now every knockout is an increment!
So you’re finished with that!
Now… this is where it gets complicated.
Wire it to a vending machine. When it’s target value is reached, you want it to deactivate said vending machine, and activate a new one with a higher price.
DISCLAIMER: This only maxes out at 2 vending machines, but I’m going to try better methods, so this will be edited.
Are you sure it maxes out at 2? If it does, then use a trigger that triggers when someone buys from the vending machine and activates another one. This way you can have as many as you want.
Nah, it’s like a knockout and revive system, plus nobody is getting like 1 billion knockouts. Also, the last one needs to be deactivated. Without that, the system would be pretty buggy.