this table is based on the lua datatype named table, which is actually a combination of lists and "mappings" (I would call them that). I don't know which programming languages you know, but equivalents would be "dict" in python, HashMap in C++/Java or basic arrays in php. it's basically the same as list, but instead of only integers you can use strings as key as well, or even objects like player.primaryship.J3ANP3T3R wrote:i still don't understand the table thing and im a programmer in real life working with tables. one with rows and columns.
as for my previous example, yes i meant ' exact=" ', the ' exact"= ' was a typo. you could iterate through this list of tables like
Code: Select all
<do_all exact="$details.count" counter="$i">
<set_value name="$current_entities" exact="$details.{$i}.$entities" />
<set_value name="$current_zones" exact="$details.{$i}.$zones" />
</do_all>
