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

Fate Core macros, accessing attribute names and values

September 25 (6 years ago)
Terje
Plus

Hi.

I've got some trouble setting up a Fate Core game with macros.

I'm trying to create macro for skill rolls (for buttons on the table), but it seems I'm not quite getting this.

Example: I want to create a macro for a Good skill (+3) named Will. I assumed this would work: 

/roll 4df + @{selected|Will}

but it does not. 

This sort of works @{selected|Good1}, but it only yields "Will", not the +3 value of the skill.

---

I found some examples, but I cannot get this to work: https://app.roll20.net/forum/post/6018396/fate-macros-for-roll20

/roll 4df+ (@{selected|Athletics}[Skill]+0) + ?{Modifier?|0}[Mod.]

Similar examples here: https://wiki.roll20.net/Fate_Core 

/roll 4df+ @{selected|Notice}[Notice]

---

Any input, please?

-Terry


September 25 (6 years ago)
GiGs
Pro
Sheet Author
API Scripter

There are several Fate sheets, which are you using?

IIRC the fate sheets generally have the flaw that they link the roll buttons to skill rank (Mediocre, Fair, Good, etc) and not to individual skills, so you cant usually use the skill name in a macro. You have to already know what the level is as a numerical value and use that instead.

The character sheets usually have rows of ranks (Fair, Good, etc), and you are expected to click the rank button to get your result.

@{selected|Good1} yields Will because the Good column has a number of slots, Good1, Good2, Good3, etc, for placing the name of the skill. In the character sheet I think you are using, the roll macro for that slot is

/me rolls @{Good1} [[{4df+3+?{Modifier|0}}]] skill.

You can see the Good1 is used only to report the name of the attribute. The value itself is hardcoded. There's no way to use the attribute name to get the roll value, the way that sheet is setup.


September 25 (6 years ago)
Terje
Plus

I'm using fate core.

Thanks for the clarification. I guess we'll have to open the sheet to make skill rolls.