"List" property type use.

11 views
Skip to first unread message

Mora Fermi

unread,
Sep 27, 2014, 1:23:02 PM9/27/14
to t3-dis...@googlegroups.com
Hi,

Can you possibly explain what we can use inside the "list" property? 

What would be the best way to store an array-of-maps (or map-of-maps) in property sheet?
As an example:

[ [name: "Knight-Errant", type: 65, value: "d6"], [name: "Warlock", type: 84, value: "d8"] ]


Cheers,

Mora.

Virenerus

unread,
Sep 28, 2014, 5:33:18 AM9/28/14
to t3-dis...@googlegroups.com
The list property is not finished yet. I apologize that it is at all in the build already. In the next big version you will be able to specify a type for the elements of the list and there will be the new struct type. Your examplel would look something like this:
LIST (name: units)
STRUCT (name: unit)
TEXT (name: name)
INTEGER (name: type)
EXPRESSION (name: value)

This would be read as a list of constructs, where each construct consists of a property name of type text, a integer type and an dice expression.
Reply all
Reply to author
Forward
0 new messages