Search found 3 matches

by duckman
Mon Sep 07, 2020 2:42 pm
Forum: Help Forum
Topic: Updating/referencing a hierarchial table
Replies: 4
Views: 619

Re: Updating/referencing a hierarchial table

So, my next challenge is sorting the key/value table based on an arbitrary field. For example lets narrow it down to the character name (as a key) and their current HP, which is what I want to sort by. I've gotten the below simplified example but it doesn't seem to actually sort - I'm sure it's some...
by duckman
Mon Sep 07, 2020 1:27 am
Forum: Help Forum
Topic: Updating/referencing a hierarchial table
Replies: 4
Views: 619

Re: Updating/referencing a hierarchial table

Thanks so much, I really appreciate it. I figured the answer was simple. I think I've got it now!
by duckman
Sun Sep 06, 2020 10:56 pm
Forum: Help Forum
Topic: Updating/referencing a hierarchial table
Replies: 4
Views: 619

Updating/referencing a hierarchial table

Hello. I'm trying to capture group status, and put the results in a table, where the key is the character name and each character has in turn attribute values (hp, mana, etc). I wasn't able to get this to work with table.insert, because that requires a numerical index, so I did this: function GroupA...