wthat was the wrong thing. uhhh i actually thought I had a way. turns out I don’t. you cant get who knocked the player out in the K.O manager
Maybe use lifecycles?
I think you should use knockout managers
Like I said in another post: is it possible to link two players together with data?
You can link two currencies using a “bank” or “chest”, but probably not the life of two players
This will be tough to code, if even possible. Oh boy…
Next big hurdle to accomplish
life cycles can only detect
Game Start
Player Knocked Out
Player Knocking Out
all are sent on behalf of the game host there is no way to use blocks in a lifecycle
I’m not sure if I have enough memory to figure this out, all my maps are at like 90-99 percent.
However, you can link a lifecycle to a trigger, and have said trigger run blocks on behalf of the lifecycle.
Life cycle and some good old item granters could get us a foundation
If we could figure out how to give the tagger and tagee the same item, we could checker and done
Here’s how I would do it:
At the start of the game, store each players name in a property. Have an additional property for each player. When a knockout manager detects a knockout, store the players who knocked them out in the player who was knocked out’s property. Then, when a player is knocked out, check if it was that player, and if so, switch the previously knocked out player to the living team again.
Only thing is that this solution would force a max amount of players in the game, since you would need a property for each player. It would also be quite difficult to do, involving recursion and text manipulation
This is 100% possible though, I made an among us voting system on this concept.
How do we store a taggers name in a tagees property?
What if we make a counter which has a scope for every player, right?
Then, we make any target value. Next, when the tagger gets knocked out, do "target value reached when receiving on “tagger knocked out”. Wire it to a team switcher, so that the taggee gets put back in the game.
This was completely off the top of my head, so it might not work. But hey! We’re all trying.
Edit: Nevermind. That wouldn’t work.
Block code- set the property to tagging players name
Maybe we could use relays?
In a true or false property, which number is true and which one is false?
Resolved, just switched to using number properties again.
Okay. I’m gonna think about using team switchers and AWO.