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

Help With A Macro

1474794297

Edited 1474794539
I'm a GM, running a NWoD game of Second Edition Promethean: The Created. I am attempting to make a macro which asks what stats you want to use along with the modifier and then finds that value off the character sheet. I'm semi-new to Roll20 and I've had minimal luck with trying to work this out on my own. So far I've made this which is mainly just copying from what I found on the wiki: &{template:default} {{name=@{character_name}}} {{roll_name=Check}} {{attr=?{Which Attribute?|Intelligence|Strength|Stamina|Resolve|Presence|Manipulation|Composure|Wits|Dexterity}}} {{attr_num=@?{|intelligence|strength|stamina|resolve|presence|manipulation|composure|wits|dexterity}}} {{skill=Intimidation}} {{skill_num=@{intimidation}}} {{mod_num=?{Modifiers|0}}} {{result=[[{(@?{|intelligence|strength|stamina|resolve|presence|manipulation|composure|wits|dexterity}+@{intimidation}+?{Modifiers|0})d10!}>8]]}} When this is run a popup appears asking you for your attribute selection twice and then if there's any modifier on the roll. I receive no error from the macro, but no result occurs. Any help is appreciated. EDIT: Just in case it's needed, I'm using the World of Darkness: The God Machine Chronicle (nWoD) character sheet by David Hawkins
1474797199

Edited 1474797211
Tetsuo
Forum Champion
Try this out! &{template:default} {{name=@{character_name}}} {{roll_name=Check}} {{attr=?{Attribute?|Intelligence|Strength|Stamina|Resolve|Presence|Manipulation|Composure|Wits|Dexterity}}} {{attr_num=?{Which Attribute?|Intelligence, @{intelligence}|Strength, @{strength}|Stamina, @{stamina}|Resolve, @{resolve}|Presence, @{presence}|Manipulation, @{manipulation}|Composure, @{composure}|Wits, @{wits}|Dexterity, @{dexterity}}}} {{skill=Intimidation}} {{skill_num=@{intimidation}}} {{mod_num=?{Modifiers|0}}} {{result=[[{ [[?{Which Attribute?|Intelligence, @{intelligence}|Strength, @{strength}|Stamina, @{stamina}|Resolve, @{resolve}|Presence, @{presence}|Manipulation, @{manipulation}|Composure, @{composure}|Wits, @{wits}|Dexterity, @{dexterity}}]]d10!}>8]]}} The problem was this line: @?{Attribute?|Intelligence|Strength|Stamina|Resolve|Presence|Manipulation|Composure|Wits|Dexterity}. You need to structure it like this: ?{Which Attribute?|Intelligence, @{intelligence}|Strength, @{strength}|Stamina, @{stamina}|Resolve, @{resolve}|Presence, @{presence}|Manipulation, @{manipulation}|Composure, @{composure}|Wits, @{wits}|Dexterity, @{dexterity}}
Thank you for your help, Franky. That works 100%.