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

Question regarding Fate Macro

1590789676

Edited 1590790136
Hello ^^ I am making a macro for the fate system and I was hoping for some help. I want to make it so, when you click it macro, it lets you select the approach you want to use and then add any modifiers from high concept or stunts or anything. This is what I have so far but it is not working, the approach part. The modifier part works fine. /roll 4df+ (@{Approach?|0}[Skill]+0) + ?{Modifier?|0}[Mod.]
1590791186
GiGs
Pro
Sheet Author
API Scripter
Change the @ before Approach to a ?
GiGs said: Change the @ before Approach to a ? That sort of worked but it's a input value box. I want it to be like a drop down menu thing or some way to select the approach.
Okay small edit. I made the drop down menu appear and now I just need to make it so each one is linked to the one on the character sheets. (like when you select force, it adds on the value in the force box on your character sheet. /roll 4df+ ?{Modifier?|0}[Mod.]+ ?{Approach|Flair|Focus|Force|Guile|Haste|Intellect}
1590794208

Edited 1590794292
GiGs
Pro
Sheet Author
API Scripter
Like this: /roll 4df+ ?{Modifier?|0}[Mod.]+ ?{Approach| Flair, @{selected|Flair}| Focus, @{selected|Focus}| Force, @{selected|Force}| Guile,@{selected|Guile}| Haste,@{selected|Haste}| Intellect, @{selected|Intellect}} You dont need the linebreaks, but they make it more readable. You can only put linebreaks immediately after the |. selected assumes you have a token selected, who represents a character, You can put the character name instead of selected , and if you put this as an Ability on the characetr sheet, you can remove the selected|  part.
GiGs said: Like this: /roll 4df+ ?{Modifier?|0}[Mod.]+ ?{Approach| Flair, @{selected|Flair}| Focus, @{selected|Focus}| Force, @{selected|Force}| Guile,@{selected|Guile}| Haste,@{selected|Haste}| Intellect, @{selected|Intellect}} You dont need the linebreaks, but they make it more readable. You can only put linebreaks immediately after the |. selected assumes you have a token selected, who represents a character, You can put the character name instead of selected , and if you put this as an Ability on the characetr sheet, you can remove the selected|  part. That is perfect thank you so so much!
1590797052
GiGs
Pro
Sheet Author
API Scripter
You're welcome :)