Log in

View Full Version : Dragdata setdielist question



Lee
September 11th, 2010, 21:48
What is setdielist expecting exactly? Can someone give an few example die rolls for drag data? I can get 1 die to roll, but how do I get multiple?

Lee
September 11th, 2010, 23:01
Replying to my own post. A bit more research found:

local dice = {};
table.insert(dice, "d6");
table.insert(dice, "d6");
table.insert(dice, "d6");

So here it is for anyone else wondering :)

StuartW
September 12th, 2010, 08:34
I think you can also do:

local dice = {"d6","d6","d6"};
Stuart