
Hello,
I am slowly building skills in designing character sheet, so after border frames and stuff, now I am in roll templates and rolls commands.
I am trying to design a button that will roll a command when clicked;
basically roll xd6 and display separate results (without adding) where X is a value given by skills checkboxes TICKED (value 1), or not (value 0).
I experimented as I could in the text chat box and copying other sheets and I resolved to that:
"backalley1" is the attr name of the checkbox n°1 for the skill "Backalley" (backalley2 = checkbox n°2, etc)
I am slowly building skills in designing character sheet, so after border frames and stuff, now I am in roll templates and rolls commands.
I am trying to design a button that will roll a command when clicked;
basically roll xd6 and display separate results (without adding) where X is a value given by skills checkboxes TICKED (value 1), or not (value 0).
I experimented as I could in the text chat box and copying other sheets and I resolved to that:
"backalley1" is the attr name of the checkbox n°1 for the skill "Backalley" (backalley2 = checkbox n°2, etc)
<button name="attr_roll_skill_backalley" value="/em @{character_name} rolls Back Alley skill [[(@{skill_backalley1}d6]] [[@{skill_backalley2}d6]] [[@{skill_backalley3}d6]]"> |