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

Can some one help me with simplifiying a macro

Hi! I'm having some troubles with making a macro for burst fire. i was wondering if any one could help me figure out how to nest the macros in a way i could click a number on the macro an it would roll for a set amount of bullets. i wanna be able to choose how much i can fire each turn. (we're using gurps, if this helps) Im trying to roll multiple 3d6-2 (which is the damage ) and to roll against my characters gun skill.
1646337870
Kraynic
Pro
Sheet Author
You say "simplify" a macro.  What macro are you currently using?
im just using the sheet marco and adding 3 other rolls for skill and damage. ive been working on a different macro for it using alot of nesting. but i want it to be able to roll off one macro and not have as much clutter in my macro list. i really dont mind the clutter as much i just want  help with a decent macro for burst fire guns.
1646342439
Kraynic
Pro
Sheet Author
Any time you make a roll, you can put your cursor in the chat box, hit the up arrow, and the will show what was last sent to chat.  Without something to work from, it would take someone that knows that system and sheet to help you.  Anyone without that knowledge really needs to know exactly what you are doing now, or we are simply throwing darts in the general direction of a board while blindfolded.
heres the macro set up, i already did what you said and i wanted a different way of doing tnings (Damage) @{Leona Hyedra|roll}&{template:skillRoll} {{sheetStyle=@{Leona Hyedra|sheetstyle}}} {{type=Ranged Damage}} {{characterName=@{Leona Hyedra|character_name}}} {{skillName=Dessert Eagle}} {{damageRoll=[[3d6-2]] [[3d6-2]] [[3d6-2]]}} {{showMinimumDmgNote=[[@{Leona Hyedra|show_minimum_damage_notes}]]}} {{minDamageNote=Min 1}} {{damageType=Large Piercing (pi+)}} {{useDamageTypeNotes=[[@{Leona Hyedra|use_damage_type_notes}]]}} {{damageTypeNote=PIERCING+ Damage x1.5 Arm, Leg, Foot, or Hand x1 (B399) Vitals Damage x3 Skull Damage x4}} {{showNotes=[[1]]}} {{notes=}} {{armorDivisor=[[1]]}}h (Skill Roll) @{Leona Hyedra|roll}&{template:skillRoll} {{sheetStyle=@{Leona Hyedra|sheetstyle}}} {{type=Ranged Attack}} {{rangedAttack=[[1]]}} {{selected=@{Leona Hyedra|selected_token_macro}}} {{target1=@{Leona Hyedra|target_token_macro}}} {{activeDefense=[[0]]}} {{isSkillRoll=[[1]]}} {{showHitLabel=[[1]]}} {{characterName=@{Leona Hyedra|character_name}}} {{skillName=Dessert Eagle}} {{rollResult=[[3d6]] [[3d6]] [[3d6]]}} {{effectiveSkill=[[{15 + @{Leona Hyedra|modifier} + @{Leona Hyedra|ranged_roll_modifier}, @{Leona Hyedra|ranged_roll_max_nine_value} }kl1]]}} {{useModToll=[[@{Leona Hyedra|use_ranged_modifier_tool}]]}} {{maxNine=[[@{Leona Hyedra|ranged_roll_max_nine}]]}} {{rollModifier=[[@{Leona Hyedra|ranged_roll_modifier}]]}} {{rollModifierSummary=@{Leona Hyedra|ranged_roll_modifier_summary}}} {{rollTraitSummary=@{Leona Hyedra|ranged_roll_trait_summary}}} {{hitLocation=@{Leona Hyedra|ranged_roll_hit_location}}} {{maneuver=@{Leona Hyedra|ranged_roll_maneuver}}} {{allOutAttack=@{Leona Hyedra|ranged_roll_allout_attack}}} {{notes=}} {{showNotes=[[1]]}} {{rof=3}} {{recoil=4}} {{useCriticalPlusTen=[[@{Leona Hyedra|use_critical_plus_10}]]}} {{useMalfunction=[[@{Leona Hyedra|use_malfunction}]]}} {{malfunction=[[0]]}} {{verifyMalfunction=[[ 0 ]]}} {{veryReliable=[[ 0 ]]}} {{customSuccessNote=}} {{customCriticalSuccessNote=}} {{customFailNote=}} {{customCriticalFailNote=}} {{showRawDefenseNotes=[[@{Leona Hyedra|show_raw_defensive_notes}]]}} {{rawSuccessNote=@{Leona Hyedra|raw_hit_notes}}} {{rawCriticalSuccessNote=@{Leona Hyedra|raw_critical_hit_notes}}} {{rawFailNote=@{Leona Hyedra|raw_miss_notes}}} {{rawCriticalFailNote=@{Leona Hyedra|raw_critical_miss_notes}}}
1646347013
Kraynic
Pro
Sheet Author
Ok, how much of that do you need?  How many of the damage rolls do you need to make?  It looks like there are a couple different rolls in that skill roll.  Are they both important? Are any of the other outputs from those rolls important?
heres the macros in chat.Edit: some one on reddit also gave me this macro  ?{How many attacks?|0} Attack(s): [[[[?{How many attacks?}*3]]d6-[[2*?{How many attacks?}]]]]