Brenn
May 1st, 2008, 13:52
I'm working on a mod for the One Roll Engine and I need to alter the way dice rolls are displayed in chat.
If a player rolls a pool of d10, I need to display the matching sets- i.e. 2x4, 3x10 and 1x5 (rolled 2 fours, 3 tens and 1 five). I know how to script the sorting, it's the chatbox display I'm having problems with. What I want to do is alter the way the chat displays the roll- instead of showing 6 d10 icons with the individual numbers, I want to display (using the above example):
2x(d10 icon with a 4), 3x(d10 icon with a 10), 1x(d10 icon with a 5)
Is there any way to do this?
Also is there any way to disable/change the sum, +/-, etc. radial menu that pops up off of this widget in chat?
If a player rolls a pool of d10, I need to display the matching sets- i.e. 2x4, 3x10 and 1x5 (rolled 2 fours, 3 tens and 1 five). I know how to script the sorting, it's the chatbox display I'm having problems with. What I want to do is alter the way the chat displays the roll- instead of showing 6 d10 icons with the individual numbers, I want to display (using the above example):
2x(d10 icon with a 4), 3x(d10 icon with a 10), 1x(d10 icon with a 5)
Is there any way to do this?
Also is there any way to disable/change the sum, +/-, etc. radial menu that pops up off of this widget in chat?