In a further attempt to exceed my own expectations (or drive myself utterly mad) I have begun to experiment with repeating sections. I have laid out my full code below for a section that is meant to be repeatable and while it works fine up to this point is my question is, using Abilities and Token Actions, how can I get it to roll a particular macro once I begin to add multiple items to a repeatable section? How does it know which row to pull from? I can't find any details information documented on this. &{template:5eDefault} {{actionshowinfo=1}} {{title=@{action_name}}} {{subheader=@{character_name}}} {{subheaderright=@{action_type}}} {{actiontarget=@{actiontarget}}} {{actionmpcost=@{actionmpcost}}} {{actioncharge=@{actionct}}} {{actionrange=@{actionrange}}} {{actionaoe=@{actionaoe}}} {{actionvertical=@{actionvertical}}} {{target=@{target|token_name}}} {{emote=@{action_description}}} @{actionmacrooptions} This is my roll Macro. <fieldset class="repeating_npcactions">
<div class="sheet-npc-row">
<div class="sheet-row">
<div class="sheet offset-1-12 sheet-col-1-2 sheet-center sheet-small-label sheet-vert-bottom">Name</div>
<div class="sheet-col-1-6 sheet-center sheet-small-label sheet-vert-bottom">Action Type</div>
<div class="sheet-col-1-12 sheet-offset-1-12 sheet-center sheet-small-label sheet-vert-bottom">Macro</div>
</div>
<div class="sheet-row">
<div class="sheet offset-1-12 sheet-col-1-2 sheet-center"><input type="text" class="sheet-center" name="attr_action_name"></div>
<div class="sheet-col-1-6">
<select name="attr_action_type">
<option value="(Attack Action) " selected="selected">Attack Action</option>
<option value="(Action Ability) ">Action Ability</option>
<option value="(Job Ability) ">Job Ability</option>
<option value="(Spell Action) ">Spell</option>
<option value="(Support Ability) ">Support Ability</option>
<option value="(Reaction) ">Reaction</option>
</select>
</div>
<div class="sheet-col-1-12 sheet-offset-1-12 sheet-center"><button type="roll" class="sheet-roll" name="roll_Action" value= "&{template:5eDefault} {{actionshowinfo=1}} {{title=@{action_name}}} {{subheader=@{character_name}}} {{subheaderright=@{action_type}}} {{actiontarget=@{actiontarget}}} {{actionmpcost=@{actionmpcost}}} {{actioncharge=@{actionct}}} {{actionrange=@{actionrange}}} {{actionaoe=@{actionaoe}}} {{actionvertical=@{actionvertical}}} {{target=@{target|token_name}}} {{emote=@{action_description}}} @{actionmacrooptions}" >Use</button></div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-vert-bottom sheet-small-label sheet-offset-1-6">Target</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">MP Cost</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">CT</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Range</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">AOE</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Vertical</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-6 sheet-offset-1-6">
<select name="attr_actiontarget">
<option value="Not set" selected="selected">---</option>
<option value="Self">Self</option>
<option value="Enemy">Enemy</option>
<option value="Ally">Ally</option>
<option value="Unfocused">Unfocused</option>
<option value="All">All</option>
<option value="RandomS">Random Enemy</option>
<option value="RandomG">Random Ally</option>
<option value="RandomU">Random Unfocused</option>
</select>
</div>
<div class="sheet-col-1-12"><input type="number" name="attr_actionmpcost" value="0" min="0" step="1"/></div>
<div class="sheet-col-1-12"><input type="number" name="attr_actionct" value="0" min="0" step="1"/></div>
<div class="sheet-col-1-12"><input type="number" name="attr_actionrange" value="0" min="0" step="1"/></div>
<div class="sheet-col-1-12"><input type="number" name="attr_actionaoe" value="0" min="0" step="1"/></div>
<div class="sheet-col-1-12"><input type="number" name="attr_actionvertical" value="0" min="0" step="1"/></div>
</div>
<div class="sheet-row">
<div class="sheet-col-5-12 sheet-offset-1-12 sheet-center sheet-small-label sheet-vert-bottom">Description</div>
<div class="sheet-col-5-12 sheet-center sheet-small-label sheet-vert-bottom">Effect</div>
</div>
<div class="sheet-row sheet-padb sheet-spell-macro-output-options">
<div class="sheet-col-1-8 sheet-vert-middle sheet-small-label sheet-padl">Macro Display Options</div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Attack Roll<br/><input type="checkbox" name="attr_actionshowattack" value="{{actionshowattack=1}} {{actionattack=@{actionattackroll}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Threshold<br/><input type="checkbox" name="attr_actionshowthreshold" value="{{actionshowthreshold=1}} {{actionthreshold=@{actionthreshold}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Healing<br/><input type="checkbox" name="attr_actionshowhealing" value="{{actionshowhealing=1}} {{actionhealing=@{healmacro}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Damage<br/><input type="checkbox" name="attr_actionshowdamage" value="{{actionshowdamage=1}} {{actiondamage=@{actiondamage} @{actiondamagetype}}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effect 1<br/><input type="checkbox" name="attr_actionshoweffect1" value="{{actionshoweffect1=1}} {{actioneffectname1=@{actioneffectname1}}} {{actioneffectduration1=@{actioneffectduration1}}} {{actioneffectcos1=@{actioneffect1}}} {{actioneffectroll1=[[1d100]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effect 2<br/><input type="checkbox" name="attr_actionshoweffect2" value="{{actionshoweffect2=1}} {{actioneffectname2=@{actioneffectname2}}} {{actioneffectduration2=@{actioneffectduration2}}} {{actioneffectcos2=@{actioneffect2}}} {{actioneffectroll2=[[1d100]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effect 3<br/><input type="checkbox" name="attr_actionshoweffect3" value="{{actionshoweffect3=1}} {{actioneffectname3=@{actioneffectname3}}} {{actioneffectduration3=@{actioneffectduration3}}} {{actioneffectcos3=@{actioneffect3}}} {{actioneffectroll3=[[1d100]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effect 4<br/><input type="checkbox" name="attr_actionshoweffect4" value="{{actionshoweffect4=1}} {{actioneffectname4=@{actioneffectname4}}} {{actioneffectduration4=@{actioneffectduration4}}} {{actioneffectcos4=@{actioneffect4}}} {{actioneffectroll4=[[1d100]]}}" /></div>
<div class="sheet-col-1-12 sheet-center sheet-small-label">Effect 5<br/><input type="checkbox" name="attr_actionshoweffect5" value="{{actionshoweffect5=1}} {{actioneffectname5=@{actioneffectname5}}} {{actioneffectduration5=@{actioneffectduration5}}} {{actioneffectcos5=@{actioneffect5}}} {{actioneffectroll5=[[1d100]]}}" /></div>
<input type="hidden" name="attr_actionmacrooptions" value="@{actionshowattack} @{actionshowthreshold} @{actionshowhealing} @{actionshowdamage} @{actionshoweffect1} @{actionshoweffect2} @{actionshoweffect3} @{actionshoweffect4} @{actionshoweffect5}" />
</div>
<span class="sheet-spacer"></span>
<span class="sheet-small-label">Show :</span>
<input type="checkbox" name="attr_spelltypeadvanced" class="sheet-spelltypetab sheet-spelltypeadvanced" value="1"/><span class="sheet-spelltypetab sheet-spelltypeadvanced">Description</span> |
<input type="checkbox" name="attr_spelltypeattack" class="sheet-spelltypetab sheet-spelltypeattack" value="1"/><span class="sheet-spelltypetab sheet-spelltypeattack">Attack</span> |
<input type="checkbox" name="attr_spelltypeheal" class="sheet-spelltypetab sheet-spelltypeheal" value="1"/><span class="sheet-spelltypetab sheet-spelltypeheal">Healing</span> |
<input type="checkbox" name="attr_spelltypdamage" class="sheet-spelltypetab sheet-spelltypedamage" value="1"/><span class="sheet-spelltypetab sheet-spelltypedamage">Damage</span> |
<input type="checkbox" name="attr_spelltypeeffects" class="sheet-spelltypetab sheet-spelltypeeffects" value="1"/><span class="sheet-spelltypetab sheet-spelltypeeffects">Effects</span>
<span class="sheet-spacer"></span>
<div class="sheet-spell-type-advanced">
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-vert-bottom sheet-center sheet-small-label">Action Description/Flavour</div>
<div class="sheet-col-1-2 sheet-vert-bottom sheet-center sheet-small-label">Action Mechanics</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-small-label sheet-center"><textarea class="sheet-medium-textarea" name="attr_action_description"></textarea></div>
<div class="sheet-col-1-2 sheet-small-label sheet-center"><textarea name="attr_action_mechanics1" class="sheet-medium-textarea"></textarea></div>
</div>
</div>
<div class="sheet-spell-type-attack">
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-12 sheet-vert-bottom sheet-center sheet-small-label">Attack Macro</div>
<div class="sheet-col-1-2 sheet-vert-bottom sheet-center sheet-small-label">Threshold Macro</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-3 sheet-offset-1-12 sheet-padr sheet-border-right"><input type="text" class="sheet-center" name="attr_actionattackroll" value="None"></div>
<div class="sheet-col-1-2 sheet-padl"><input type="text" class="sheet-center" name="attr_actionthreshold" value="None"></div>
</div>
</div>
<div class="sheet-spell-type-heal">
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-offset-1-4 sheet-vert-bottom sheet-center sheet-small-label">Heal Macro</div>
</div>
<div class="sheet-row">
<div class="sheet-col-1-2 sheet-offset-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_healmacro" value="None"></div>
</div>
</div>
<div class="sheet-spell-type-damage">
<div class="sheet-row">
<div class="sheet-offset-1-12 sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Can Crit?</div>
<div class="sheet-col-1-2 sheet-vert-bottom sheet-center sheet-small-label">Damage Macro</div>
<div class="sheet-col-1-4 sheet-vert-bottom sheet-center sheet-small-label">Damage Type</div>
</div>
<div class="sheet-row">
<div class=" sheet-offset-1-12 sheet-col-1-12 sheet-checkbox-row"><input type="checkbox" name="attr_actioncancrit" value="1"/></div>
<div class="sheet-col-1-2 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_actiondamage" value="Nome"></div>
<div class="sheet-col-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_actiondamagetype" value="None"></div>
</div>
</div>
<div class="sheet-spell-type-effects">
<div class="sheet-row">
<div class="sheet-offset-1-12 sheet-col-1-4 sheet-vert-bottom sheet-center sheet-small-label">Name</div>
<div class="sheet-col-1-2 sheet-vert-bottom sheet-center sheet-small-label">Effect CoS Macro</div>
<div class="sheet-col-1-12 sheet-vert-bottom sheet-center sheet-small-label">Duration</div>
</div>
<div class="sheet-row">
<div class="sheet-offset-1-12 sheet-col-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_actioneffectname1" value="None"></div>
<div class="sheet-col-1-2 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_actioneffect1" value="None"></div>
<div class="sheet-col-1-12 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_actioneffectduration1" value="∞"></div>
</div>
<div class="sheet-row">
<div class="sheet-offset-1-12 sheet-col-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_actioneffectname2" value="None"></div>
<div class="sheet-col-1-2 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_actioneffect2" value="None"></div>
<div class="sheet-col-1-12 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_actioneffectduration2" value="∞"></div>
</div>
<div class="sheet-row">
<div class="sheet-offset-1-12 sheet-col-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_actioneffectname3" value="None"></div>
<div class="sheet-col-1-2 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_actioneffect3" value="None"></div>
<div class="sheet-col-1-12 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_actioneffectduration3" value="∞"></div>
</div>
<div class="sheet-row">
<div class="sheet-offset-1-12 sheet-col-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_actioneffectname4" value="None"></div>
<div class="sheet-col-1-2 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_actioneffect4" value="None"></div>
<div class="sheet-col-1-12 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_actioneffectduration4" value="∞"></div>
</div>
<div class="sheet-row">
<div class="sheet-offset-1-12 sheet-col-1-4 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_actioneffectname5" value="None"></div>
<div class="sheet-col-1-2 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_actioneffect5" value="None"></div>
<div class="sheet-col-1-12 sheet-small-label sheet-center"><input type="text" class="sheet-center" name="attr_actioneffectduration5" value="∞"></div>
</div>
</div>
</div>
</fieldset>