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

Savage Worlds Tabbed sheet Macro to use first weapon on character sheet?

Hi, I am new to savage worlds and haven't really had to macro or API much in the past. That being said I found that sweet macro on:&nbsp;&nbsp; <a href="https://wiki.roll20.net/Savage_Worlds" rel="nofollow">https://wiki.roll20.net/Savage_Worlds</a> that brings up whatever I am targeting's statblock =&nbsp;/w @{selected|token_name} %{selected|fullstatblock} unfortunately attacks are not in the statblocks.&nbsp; So my question is, is there anyway to use the first weapon of any selected token?&nbsp; or to trigger the Atk+Dmg button for it? since I am essentially making all new character sheets for all the NPC's, I can pretty much assume that the attack they will use will always be the first weapon... I spent an unhealthy amount of time playing around with ChatGPT trying to whittle this down...&nbsp; to basically come up empty handed. Any and all help is much appreciated!
1677916207
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
I would recommend switching to the official savage worlds sheet as it is compatible with the compendium's and is essentially an upgrade to the tabbed sheet. As for calling the first attack, I'll need to double check the sheet in the morning for the attribute call syntax.
1677946612
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
On the Official Savage Worlds Sheet (and I believe on the tabbed sheet), the ability call to call the first attack of any selected token (as long as it represents a character) would be %{selected|repeating_weapons_$0_tweapon} .