Use xy coordinates in list

id: 749729

category: Help with Scripts

posts: 4

Narekpro Narekpro loading
I'm using XY coordinates in a list. I have code that writes coordinates to a list, but I'm unable to use this data to create a sprite on those same coordinates.
can you please help
Malicondi Malicondi loading
What exactly are you trying to do with the coordinates in the list? We need more details or us trying to help you will just be a stab in the dark.
Narekpro Narekpro loading

Malicondi wrote:

What exactly are you trying to do with the coordinates in the list? We need more details or us trying to help you will just be a stab in the dark.
I have a list containing coordinates. I want to use these coordinates to spawn a sprite.
Malicondi Malicondi loading

Narekpro wrote:

Malicondi wrote:

What exactly are you trying to do with the coordinates in the list? We need more details or us trying to help you will just be a stab in the dark.
I have a list containing coordinates. I want to use these coordinates to spawn a sprite.
what do you mean by “spawn a sprite”? If you want a sprite to go to the coordinates, depending on how your lists are setup you can do this:
go to x: (item (1) of [x positions v]) y: (item (1) of [y positions v])
or
go to x: (item (1) of [coordinates v]) y: (item (2) of [coordinates v])