damned
November 18th, 2016, 12:12
Ok so I have a new feature almost ready to implement in MoreCore but I really think this little tweak makes a big difference.
So I can roll rolls (/die /rolld /success /pbta etc), tables (/rollon) and add modifiers (/mod) now from the MoreCore Character and NPC sheets. I think this really expands the usefulness again. What I almost have working is to have different buttons for each of those broad categories (rolls, tables, modifiers and another called chat). When creating/editing them it will automatically assign the right button in the detail view but you dont roll from the detail view you roll from a list on your character sheet.
I used a button_iconcycler to achieve the dynamically changing button but I need to change the behaviour of the onClick (actually its the onClickRelease) to not cycle to the next Icon but to execute the roll/command like the button_roll does... unfortunately button_roll uses an internal template/command called buttoncontrol so I cant snafu the code from there....
Sooooo.... I am looking to either change the onClickRelease for a button_iconcycler or find out how to dynamically set the icon for a button_roll...
Anyone got any suggestions?
So I can roll rolls (/die /rolld /success /pbta etc), tables (/rollon) and add modifiers (/mod) now from the MoreCore Character and NPC sheets. I think this really expands the usefulness again. What I almost have working is to have different buttons for each of those broad categories (rolls, tables, modifiers and another called chat). When creating/editing them it will automatically assign the right button in the detail view but you dont roll from the detail view you roll from a list on your character sheet.
I used a button_iconcycler to achieve the dynamically changing button but I need to change the behaviour of the onClick (actually its the onClickRelease) to not cycle to the next Icon but to execute the roll/command like the button_roll does... unfortunately button_roll uses an internal template/command called buttoncontrol so I cant snafu the code from there....
Sooooo.... I am looking to either change the onClickRelease for a button_iconcycler or find out how to dynamically set the icon for a button_roll...
Anyone got any suggestions?