#how do I make a prompt menu that displays all users in the room?
1 messages · Page 1 of 1 (latest)
Make a List String Variable and wire an Empty List to it
Run a For Each and in the loop
If <Item = Local Player> Else ->
List Add (To String (Item))
This is the rare instance where this is better
Yes
You don’t need to waste a whole event definition for this
do you just need a list of all the players to show up on a prompt multiple choice?
Yeah and then when clicked on the user it will give a list of options like freeze or mute
But for now I just need the list of them
it is an already solved problem #1190999785906372639 message
use a for each….
If you use an event it’s gonna be a jumbled up mess
no it won’t
Oh
you would send an event to all and have them send there own name to you or into a pdb
which is probably worse actually
ooooooooooppppps
Yeah but how do I connect that to a prompt player multiple choice
use your noggin. theres a list string variable for a reason
I'm a bit slow yk
Wire that chip to the prompt.
How?
Bro 🤦♂️
same color go to the same color
What is the only thing in that picture that matches what can be wired to the input of the prompt
keep in mind the brackets [ ] matter
wire a list create into a string list variable
then add a for each with the output of the variable going into a for each with a get all players in the items then add a to string and wire the outpur item from the for each into it with the loop going into a list add and the done into a player prompt multiple choice and then clone the variable with the answer choices as the variable (clone the first one)