Note: It is imperative you have another person to help debug this, as the win condition will automatically say you won if it is just one player alive. However, even when I disabled this for testing purposes, I still could not figure out what was going wrong.
It is also important to mention that the next paragraph is a bit unnecessary but I typed it so that it would be easier to understand my scripting. If you know what Russian Roulette is, you can skip it.
So I’ve been working on this for about a week everyday and for the life of me I can’t figure it out. Basically, I want to create a custom game in which you play Russian Roulette. The rules are pretty simple (I’m explaining this so that the events in the script is easier to understand). In this FFA game, there is a red orb that everyone spawns at. A white shaft effect prevents players from running away. To start, someone must press the interact key on near the red orb. The orb will decide the chance of survival (1/6, 1 being survival, else meaning death) and who must play (the global variable R is chosen randomly, pointing at one of the living players in the game). That player is displayed using the big message effect and now should walk to the red circle. A countdown will start. If D, the chance of death, is 1, they teleport to the blue circle and someone spins the orb again, else they will die (certain features had to be disabled for this to work, like normal respawning, abilities like Zarya’s bubble, or literally just Lucio because he slips out of the circle).
The big problem is every time I use Big Message, I can’t get it to show exactly which player must enter the circle. I either get a number like -1 or a slot number of 0. I want the player’s name, not which slot they have or which hero is being played. I’ve tried slot of R, Global Variable R, Global Variable R in the array of Living Players…I just can’t figure it out. The game settings import code is below:
SA5C9
Edit: lol the code has “C9” in it haha