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
This post has been closed. You can still view previous posts, but you can't post any new replies.

[Help]Star Wars EotE API Macros

So I've created these token actions for my players for most of the skills they would need, but I can't get the piloting skills to work. I think its because of the space and the "-" in the skill name. Any suggestions on how to account for this in the macro and get the skill check I need? Samples of a working and non-working macro below. Thanks in advance. Working: !eed label(Charm: @{selected|token_name} targets @{target|token_name}) skill(@{selected|rankCharm}|@{selected|Presence})@{selected|dicePool} !eed opposed(@{target|rankCool}|@{target|Presence}) !eed upgrade(difficulty|?{Any Upgrades to Difficulty?|0}) Non-Working: !eed label(Piloting-Planetary: @{selected|token_name} targets @{target|token_name}) skill(@{selected|rankPiloting - Planetary}|@{selected|Agility})@{selected|dicePool} !eed opposed(@{target|rankPiloting - Space}|@{target|Agility}) !eed upgrade(difficulty|?{Any Upgrades to Difficulty?|0})
Ha! After much fiddling I discovered that caps matter and I was suppose to ignore the Piloting part, but they are all working now. !eed label(Piloting Planetary: @{selected|token_name} targets @{target|token_name}) skill(@{selected|rankPlanetary}|@{selected|Agility})@{selected|dicePool} !eed opposed(@{target|rankPlanetary}|@{target|Agility}) !eed upgrade(difficulty|?{Any Upgrades to Difficulty?|0})
1437992170
Ziechael
Forum Champion
Sheet Author
API Scripter
Glad you got it sorted, i'll close this thread now.