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

Attaching dice?

The first thing to say hello, I have a question and I apologize if this is not the place to ask, and also for using google translator. when you use this Attaching [Bear](<a href="http://journal.roll20.net/handout/-NNN" rel="nofollow">http://journal.roll20.net/handout/-NNN</a>) you can make the word Bear appear in the chat and when people click on it they will do a handout with the photo of the bear (uploaded) . this is my question can not create a word with [] and when you click, throw some dice ?? D&amp;D damage type It is for a custom game or will there be an API for that
1592882009
Oosh
Sheet Author
API Scripter
You can, but you need to create a macro to link to. Ability macros are more straightforward to link to from chat buttons, so create Macro character sheet first (let's call it Macros ), then create your macros under its Ability tab. For example, a simple macro called rolld20 : /r 1d20 You'd then link to this with a button coded thusly: [Roll 1d20](~Macros|rolld20) If you put a bunch of these buttons together in a macro you have a Chat Menu , which a lot of people use to reduce clicking through the character sheet.
thanks, but another question Can't I create that macro inside the character sheet? It would be easier for me to create within the sheet of each character Macro Roll 1d20 / r 1d20 inside the sheet and then [Roll 1d20] (~ Macros | rolld20) but i don't know what symbol to use. try% macros | rolld20 and many other crazy things. or can't the macro be created inside the same sheet?
1592909270

Edited 1592909351
Oosh
Sheet Author
API Scripter
Yes you can create the macro inside the sheet, under Abilities in the Attributes &amp; Abilities tab. You can also assign them to the Macro Bar so a little button appears down the bottom of the screen, if you don't wish to use a Chat Menu. The general syntax to call an Ability macro from a character sheet is %{character_name|macro_name} , the (~character_name|macro_name) syntax is only for creating button links. Always use the { } curly brackets for Attribute &amp; Ability calls unless you are creating a link, then it is ( ) normal brackets. Confusing!
Thx Thx Oosh ready&nbsp;