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

In need of Macro assistance

Howdy all, I'm trying to learn how to program macros for a game of mine and could use some help if at all possible. I'm still looking over the numerous thread topics and tutorials, but have an idea of what I'd like to try and create. Should someone out there be able to lend a hand in doing so, I'd be ever so grateful. The game itself uses the Westward RPG rules and is a derivative of the D6 Universe, itself being called a Cinema 6 system. My idea is as follows: I've already assigned Attribute ratings to the primary 5 attributes (Dexterity/Strength/Persona/Intellect/Aptitude) and am trying to come up with a formula to macro/hotkey the following commands to each player's character token: Dexterity Skill , Strength Skill , Persona Skill , etc. I'd like to have the macro itself default to the selected token's respective Attribute rating (i.e. @Strength, etc.) and then prompt the player with an option of entering in: # of Skill Dice? and then: Modifiers? and have the entire ordeal emulated as My Guy rolls for a Dexterity skill [ result ] I appear to be having difficulty in manufacturing a proper series of macro commands to do so however. Hopefully somebody can assist me as I continue to try and learn how the mechanics of it all is expected to read. Sincere thanks!
1504284741
The Aaron
Pro
API Scripter
I don't know anything about that system, but assuming that it works like (Skill + Extra Dice)d6 + Modifiers, it would be something like: /em @{character_name} rolls for a Dexterity Skill: [[ (@{dexterity}+?{Skill Dice|0})d6 +?{Modifiers|0} ]] This assumes you'd be putting this as an Ability on the character.  If you create it as a Macro in the Collections Tab, you'd need a qualifier like this: /em @{ selected| character_name} rolls for a Dexterity Skill: [[ (@{ selected| dexterity}+?{Skill Dice|0})d6 +?{Modifiers|0} ]] If there is a fixed range for additional Skill Dice, you could express it as (assuming the options are 0 to 9): ?{Skill Dice|0|1|2|3|4|5|6|7|8|9} Ditto for Modifiers.  If they have names, you can also specify them like this: ?{Skill Dice|None,0|Weak,1|Minimal,2|Average,3|Good,4|Excessive,5|Exceptional,6|More Exceptional,7|Supremely Exceptional,8|Godly,9} Hope that helps!