Im trying to add a set of Traveller Dice to MoreCore.
It currently displays like this:
https://www.fantasygrounds.com/forum...chmentid=17542
Im currently calculating the value of the dice as first dice * 10 + second dice
and I can output that fine in the Chat Description but I dont know how to tell the Dice Display to be
11 and not 2, or 26 and not 8 etc.
I will need this to be able to drag the result and have the drag data be correct.
function createChatMessage(rSource, rRoll)
local rMessage = ActionsManager.createActionMessage(rSource, rRoll);
rMessage.dicedisplay = 0; -- don't display total
local nVal = rRoll.aDice[1].result *10 + rRoll.aDice[2].result;
rMessage.text = "[Skill] " .. rMessage.text;
rMessage.text = rMessage.text .. "\n[Result] "..nVal.." \n[Target] not used yet";
return rMessage;
end
Any pointers please :)

