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

Aaron's Ammo API: OGL Sheet Question

Hello, I've been racking my head trying to figure out how to consume multiple of an ammo in the same attack button using the OGL Sheet Tracking. I'm doing a Sci-fi themed Campaign so one of the big things is Power or Energy, I want to designate an Energy cost to each use of a weapon. 1 power for a pistol 3 power for a grenade launcher 6 power for shields etc So I was wondering if it's possible to have the ammo tracking on the sheet be able to deduct multiple points within the sheet itself. (X) Power|{INSERT_ID_CODE} and have it take X So if I insert like (2) Power and have it take 2 Power from the sheet's resources. (8) Power takes 8 etc Thanks for you time in advance.
1495975083
The Aaron
Pro
API Scripter
You can certainly do that sort of adjustment with the Ammo script. Not sure about how it integrates with the OGL Sheet. I think the OGL companion uses its own ammo script. 
1496005735

Edited 1496005914
so it does... I thought it required both... hmmm Sorry about that. guess that's a thing i'll have to take up with the OGL guys. cause I don't want to click two buttons to complete an attack each time they fire a power-based weapon and the OGL sheet doesn't seem to like to handle API commands well like I can't nest them into the same button as far as I can tell without making marcos for everything which is a little sub optimal since many attacks would turn into macros.. and I was hoping to avoid that.