I want to do something like the following:
local archetype = "melee"
local meleeNames = { x,y,z }
if itemNumber > # [archetype .. "Names"] then
itemNumber = # [archetype .. "Names"]
end
However, I am not sure how to access the variable and this isn't it...
[archetype .. "Names"]
Thanks, Gullie
_Gtable. But the variable is local in your code, in that case, read Access local variable by name