#How do i get all players besides myself

45 messages · Page 1 of 1 (latest)

forest sand
#

How do i get all players besides myself?

summer fjord
storm imp
# forest sand How do i get all players besides myself?

Save Get All Players into a List<Player> Variable
Get the local players index in the List<Player> Variable via List Get First Index Of
Use List Remove At to remove the local players index from the List<Player> Variable

forest sand
#

idk what i did wrong

storm imp
summer fjord
#

You must’ve done it wrong

forest sand
#

cuz theres no output list

#

on the list remove at

summer fjord
storm imp
# forest sand literally tried that

You cannot remove items from read only lists, like Get All Players

What you can do is save Get All Players into a List<Player> Variable, and then remove the local player from that List<Player> Variable

storm imp
forest sand
#

ohhhhh

#

like itll change the variable?

storm imp
summer fjord
#

Huh ig I just always assumed List Remove Item was a chip

forest sand
forest sand
summer fjord
storm imp
#

List Add will add an item to the end of a list variable
List Insert will insert an item at a specified index in a variable
List Set Element will set the value of a specified index in a variable
List Remove At Last will remove the last element in a variable
List Remove At will remove the item at the specified index in a variable

verbal gust
#

This will need to update/rerun everytime a Player Joins or a Player Leaves btw

storm imp
verbal gust
#

Fair enough

#

Hey you want to help on a maze generation algorithm with me and Jehuty? @storm imp

forest sand
#

i did it

#

thx @storm imp

verbal gust
#

Nice

forest sand
#

yup

storm imp
forest sand
verbal gust
#

But it is Beta

storm imp
#

truth is, 64 nodes just doesnt cut it most the time

verbal gust
#

Do you want to see the Circuits to my pathfinder then? See if that can give you some ideas, if any?

storm imp
verbal gust
#

Objects, but I'm planning on changing it

storm imp
#

my main issue is number of nodes as positions, I dont want nodes as objects

verbal gust
#

Hm

#

Like a baking system but with no 64-65 cap on lists?

storm imp
#

yeah

#

I can use lists of lists but I cant store lists of lists in variables

verbal gust
#

You could use 2 String Variables with a String Split. When the first String Varibale is about to hit the 512 character limit, it switches to the next String Variable.