I tried swapping object 1 with object 3, but I left the code the same.
It was like this:
first player = object "1"
second player = object "2", and so on.
The 3rd player and the 3rd object, and so on up to 8, didn't workNow it's like this:
the first player touches object "3" and everything works.
the third player touches object "1" and doesn't work.
This means the code is correct and works for all 8 functions.
It seems the problem is with the player number - it works for 2 players, but not for 6.
I'll have to abandon the cool idea of a bonus that the player can choose (((
Added 28 minutes later
I added the filter retrieval, everything works now, thank you.
For all functions that are named ...BoxForPlayers, the argument for the player ID works strangely. Player 1 = 1, Player 2 = 2, Player 3 = 4, Player 4 = 8, Player 5 = 16, Player 6 = 32, Player 7 = 64, Player 8 = 128. I'm not sure about the last 2, I only checked for 6 players.