Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

2e Simple Character Sheet

AD&D 2e Simple Sheet Looking for a list of what macro commands pertain to which character sheet items. For instance, Spell Book, spell 1, memorized test, spell level, name and access to that lines specific initiative, macro, etc. For instance, @{selected|weaponname} uses the weapon in the first slot, looking for details for the spell page, but all would be nice, the wiki does not have this info.
1585529092

Edited 1585530552
vÍnce
Pro
Sheet Author
Some sheets might show you the attribute name by hovering over the input field, if not, you can always right-click a field and use the Inspect element feature of the browser to learn the name of the attribute ie name="attr_foo" would be @{foo}, or @{selected|foo}, or @{robert|foo} etc.  You ignore the "attr_" portion.  Also, you can make rolls from the sheet and then if you click in the input of the chat window and press the UP arrow key, you can cycle through the last commands sent to chat.  This is handy in learning about how the macros work and allow you to make your own.  Final note; using repeating attributes in your macros must include the repeating sections name and either the row# or rowID in order to grab the appropriate attribute's value.  ie @{repeating_weapons_$X_weapon_name}  where "$X" is either "$0" for the first repeating row or substitute the rowID "-123456789abc".  Using a rowID is better since your macro will be linked to that row's item regardless if the user rearranges the repeating rows. Using a row# is not as good because your macro is hard coded to that row# even if the rows get re-arranged.  You can learn the rowId using the inspector as noted above. Hope this helps. Cheers
I had figured out the inspect option, and that helped. The issue I was having is everything else related to the "foo" in your example, but I managed to find out the info needed. Running commands from the sheet didn't help in this case as they were generic dice calls or direct macro calls with out a reference to the calling button press.