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

Non added attritubes to Macros

1588920759

Edited 1588952321
I have this problem helping a friend with a pokemon game that the sheet is not soo....practical because in one sheet there is the Trainner stat and all 6 pokemons, so i had to make a macro to make a menu this requiring adding a lot of abilitys to the PC sheets to be readed be the next macro: /w "@{selected|character_name}" &{template:default} {{name=Menus}} {{**Skill Checks**=[Browbeat](~selected|Browbeatcheck) [Jump](~selected|Jumpcheck) [Sprint](~selected|Sprintcheck) [Strength](~selected|Strengthcheck) [Concentration](~selected|ConcentrationCheck) [Deflection](~selected|DeflectionCheck) [Healing](~selected|HealingCheck) [Tireless](~selected|TirelessCheck) [Engineering](~selected|EngineeringCheck) [History](~selected|HistoryCheck) [Investigate](~selected|InvestigateCheck) [Programming](~selected|ProgrammingCheck) [Diplomacy/Bluff](~selected|Bluff_DiplomacyCheck) [Perception](~selected|PerceptionCheck) [Sooth](~selected|SoothCheck) [Streetwise](~selected|StreetwiseCheck) [Acrobatics](~selected|AcrobaticsCheck) [Perform](~selected|PerformCheck) [Sleigh of Hands](~selected|SleightCheck) [Stealth](~selected|StealthCheck) }} {{ Inventario=[Mostrar al GM](~selected|Inventario}) }} {{ Iniciativas= [Trainner](~selected|Iniciativa-Trainner) [Pokemon](~selected|Iniciativa-Pokemon) }} {{ Features= [Mostrar al GM](~selected|Trainer-Features) }} {{Movimientos Naturales=[@{selected|pokemon_name1}](~selected|Movimientos-naturales1) [@{selected|pokemon_name2}](~selected|Movimientos-naturales2) [@{selected|pokemon_name1}](~selected|Movimientos-naturales3) [@{selected|pokemon_name4}](~selected|Movimientos-naturales4) [@{selected|pokemon_name5}](~selected|Movimientos-naturales5) [@{selected|pokemon_name6}](~selected|Movimientos-naturales6)}} {{Movimientos Tecnicos=[@{selected|pokemon_name1}](~selected|Movimientos-tecnicos1) [@{selected|pokemon_name2}](~selected|Movimientos-tecnicos2) [@{selected|pokemon_name3}](~selected|Movimientos-tecnicos3) [@{selected|pokemon_name4}](~selected|Movimientos-tecnicos4) [@{selected|pokemon_name5}](~selected|Movimientos-tecnicos5) [@{selected|pokemon_name6}](~selected|Movimientos-tecnicos6) }} So the menu work perfectly except that there are some attributes that are not in the sheets yet( numbers of pokemons) so they are showing like this: is there a way to hide "[](~selected|Movimientos-tecnicos3) " for example and only be show when there is a value in the sheet to be showed?
1589739386

Edited 1589739452
Oosh
Sheet Author
API Scripter
It depends on how many NPC sheets you have - If you add blank abilities to each sheet (add an npc ability, put a space in the name field then close it with the cog) then it will output a small pink box with nothing in it instead of the error. You can then apply a new style as per Keith's instructions and those pink boxes will disappear. This is a Goblin with 6 actions, 4 of them blank: I wouldn't be doing this in a giant campaign for every monster, but if its an arena or tactical kind of thing with a limited number of monster types it doesn't take too long.