How do I use a dictionary with a table key? I am lost on how to make this work.
For example;
1 | Local Cells = { } |
2 | Cells [ { x,y } ] = part |
3 |
4 | print (Cells [ { 1 , 2 } ] .Name) |
Well, I solved this on my own by finding out that tables are assigned different valves despite the same hash. So I replaced the table with table.unpack(table) to store the part under the raw table values. I wrote this for anyone who might also have this problem.