Hello, I’m not sure how to get the next thing in a table like this.
local Table = {
Bob = "Bob",
Billy = "Billy",
Joe = "Joe"
}
local Current = Table["Bob"]
-- Not sure what to put here
Hello, I’m not sure how to get the next thing in a table like this.
local Table = {
Bob = "Bob",
Billy = "Billy",
Joe = "Joe"
}
local Current = Table["Bob"]
-- Not sure what to put here
I would recommend using the table as an array instead of a dictionary:
local Table = {
"Bob",
"Billy",
"Joe"
}
local Current = Table[1]
local Next = Table[2]
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.