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 .
×

Can someone help me with Double Cross 3rd macro?

1681797374

Edited 1681797493
I am using the official Double Cross 3rd sheet provided by Roll20. As checking multiple character sheets at the same time confusing, I was trying to create some macros by applying that of D&D 5e shaped sheet. Such as... /w @{selected|character_name} &{template:5e-shaped} {{character_name=@{selected|character_name}}} @{selected|show_character_name} {{title=Offense}} {{text_big=@{selected|offense_macro_var}}} This macro shows offense attributes by whispers, and I wanted to apply it to the 'combos' in DX 3rd sheets. But I cannot find the proper attributes to call. Does someone know how to call these data instantly as whispers? I am sorry that I am not a native speaker of English so my grammar could be awkward.
1681828211
Kraynic
Pro
Sheet Author
First, the only roll template that is available in all games is the default template: <a href="https://wiki.roll20.net/Default_Roll_Template" rel="nofollow">https://wiki.roll20.net/Default_Roll_Template</a> Any other roll template is only available on a sheet by sheet basis, because they are part of the character sheet code.&nbsp; That means that the 5e-shaped template will not be available in a game using a different character sheet.&nbsp; From a look at the code on github, it looks like the Double Cross sheet uses a roll template called Dx3Dice.&nbsp; Since this is a community created sheet, the code is on github and can be found here:&nbsp; <a href="https://github.com/Roll20/roll20-character-sheets/tree/master/DoubleCross3rd" rel="nofollow">https://github.com/Roll20/roll20-character-sheets/tree/master/DoubleCross3rd</a> The roll template is the bottom section of the html file. If you are needing to find the attribute of something, you can either right click an input field and select "Inspect" from the menu, or you can look at the html file on github to find what you are comfortable sorting through the html.&nbsp; What you are looking for is something that looks like: name="attr_attributenamehere" The attributenamehere part is what you are looking for to use in your macros.&nbsp; You don't use the attr_ part, because that is what tells the character sheet framework within Roll20 to create an attribute that stores persistent info.&nbsp; Then you insert that in your macro attribute calls: @{attributenamehere}. If you want to see how macros are built with that roll template, you can often make a roll from the sheet, put your cursor in the chat box (like you were going to type something in chat), and then hit the up arrow.&nbsp; That will display the last command sent to chat.&nbsp; Another option is to look at the macros used in roll buttons on the sheet by looking at the html code on github.&nbsp; You can also track down the author of the sheet, since the sheet.json file on github has the Roll20 user id, and ask your questions direct.
Thanks a lot for kind and specific answers! Creating macro was a lot harder than I thought though...