Can I build my Ability Command Buttons without actually linking to another Macro? In that I would like to nest macros within them, but I don't want those nested macros to be their own. I would like everything to be self contained in one macro.
[Roll Dice](! [[ ?{Dice|2d6} ]])
@{selected|wtype} &{template:npcaction} {{name=@{selected|token_name}}} {{rname=Saves}} {{description=[Strength Save](! @{selected|wtype}{{template:npcaction}})}}
@{selected|wtype} &{template:npcaction} {{name=@{selected|token_name}}} {{rname=Saves}} {{description=[Strength](! #SaveSTR) [Dexterity](! #SaveDEX) [Consitution](! #SaveCON) [Intelligence](! #SaveINT) [Wisdom](! #SaveWIS) [Charisma](! #SaveCHA)}}And in the macro this references the following.
@{selected|wtype}&{template:npc} {{rname=Constitution Save}} {{name=@{selected|token_name}}} {{r1=[[1d20+[[@{selected|npcd_con_mod}*{1@{selected|npcd_con_save}0,0}=10+0@{selected|npcd_con_save}]] [CON SAVE]]]}} @{selected|rtype}+[[@{selected|npcd_con_mod}*{1@{selected|npcd_con_save}0,0}=10+0@{selected|npcd_con_save}]] [CON SAVE]]]}}
Jeremy R. said:
And in the macro this references the following.@{selected|wtype}&{template:npc} {{rname=Constitution Save}} {{name=@{selected|token_name}}} {{r1=[[1d20+[[@{selected|npcd_con_mod}*{1@{selected|npcd_con_save}0,0}=10+0@{selected|npcd_con_save}]] [CON SAVE]]]}} @{selected|rtype}+[[@{selected|npcd_con_mod}*{1@{selected|npcd_con_save}0,0}=10+0@{selected|npcd_con_save}]] [CON SAVE]]]}}
[Constitution](!/ @{selected|wtype}&{template:npc} {{rname=Constitution Save}} {{name=@{selected|token_name}}} {{r1=[[1d20+[[@{selected|npcd_con_mod}*{1@{selected|npcd_con_save}0,0}=10+0@{selected|npcd_con_save}]] [CON SAVE]]]}} @{selected|rtype}+[[@{selected|npcd_con_mod}*{1@{selected|npcd_con_save}0,0}=10+0@{selected|npcd_con_save}]] [CON SAVE]]]}})I added a forward slash (/) before the first colon (:) to work around an issue with colons.
Silvyre said:
Right, as Scott said you can write an API Command Button that contains a macro. For example:[Roll Dice](! [[ ?{Dice|2d6} ]])