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

How to call built-in character macro from standard macro

I've not been able to find this in the forums or documentation. Say I have a character named Gnoll, serving as a generic Gnoll.  Say I'm using the DnD 5th Edition Character Sheet.  The gnoll character sheet a weapon Spear, which has an associated built-in Attack macro.  Say I want my Gnoll token to have a drop-down Attack With Spear macro.  First step is to create an Attack With Spear macro, which wants to call the built-in spear Attack macro. What is the proper syntax to call the built-in Attack macro from my custom macro?   Thanks for your time and attention.  If this has already been answered please link to the answer.   P.s.  Is there a scripting UI technique that helps?
Here's the appropriate documentation for DnD5e Character Sheet and DnD5e Shaped Character Sheet .
Bruce Are you using the NPC sheet for the Gnoll, if you are I think you need this. But you also need to fill out the action part of the NPC sheet. Type Macro Action 1 repeating_actions_0_action Action 2 repeating_actions_1_action Action 3 repeating_actions_2_action continues in sequence I am trying to do the same thing. Cheers Frank
Bruce Will this help you. @{selected|output_option} &{template:5eDefault} {{action=1}} {{character_name=@{selected|character_name}}} @{selected|show_character_name} {{title=@{selected|repeating_actions_0_name}}} {{action_type=@{selected|repeating_actions_0_type}}} @{selected|repeating_actions_0_macro_options} Cheers Frank
Excellent information.  This is just what I was looking for.   I'll put it to the test soon.  I'll only post here again if i have further questions.  Nothing more mans the above guidance did it.   Thanks! Bruce