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

Shaped 5e - Monster Manual Wolf transfer to NPC character sheet is not working like the others and has broken macros

So the Title says most of it but a bit of clarification. I created a monster NPC template from a "building your monster manual video" the macros were for another sheet so I went through them one by one rebuilding and testing them. Then I started creating copies of the template and dragging creatures from the monster manual to them one at a time. I delete unneeded macros and test the rest. It has been going very well and I have done about 30 so far everything working like clockwork... Enter the wolf.... after dragging the monster manual entry over, no matter what I put in the macros for the character sheet I get a blue background announcement with "%Wilf|<macro name> can not be found" (I am working from memory so that might not be the exact wording I can double check later). I have built more monsters and double checked old monsters. They all work fine. I deleted the wolf and recreated it again and got the same issue. Clicking the entries on the created NPC sheet work fine but the macros I am using continue to error. Deleted and rebuilt the token for good measure. Here is an example of what I remember of the basic macro I am using. (they are all a little different and tested, working on other NPCs) /emas @{selected|character_name} attacks! /w GM %{selected|repeating_action_$0_action] Does anyone know if their something is something wrong with the wolf in the monster manual or an incompatibility with the sheet? I tried pulling the character ID to make it static instead of working on the selected token but it would not run the @{selected|character_id} command and gave me the same error. Thank you for any assistance and your time. 
Resolved? I believe I found the issue. Apparently I accidently drug the monster manual entry into my journal some how and it created a character named "Wolf" but even though the macro was attached to the NPC character sheet with it the "selected" found "Wolf" then somehow understood it as the character and "NPC Macros" didn't work. Deleting the character seems to have fixed this issue. **However** I am also not able to duplicate this issue. I tried creating a character named wolf on purpose and couldn't dragging it from the monster manual. Adding a character Sheet and Naming it wolf didn't cause the same problem nor does coping the wolf into multiple wolf NPCs removing the "Copy of " so they have the same name. They all work fine with no conflict. Very strange. Figured it might be an indicator of something that might be interesting for some of the more savvy programmers to figure out if they get board and curious. Thanks for reading and have a great day!
No, I was wrong. I am seeing it again with the Goblin Boss... very strange. my macro: ------------------------------------------------------------------- /emas The @{character_name} attacks! /w GM %{selected|repeating_action_$1_action} Output I am getting: ------------------------------------------------------ No ability was found for %{Goblin Boss|Action1: Scimitar} Goblin Boss|Action1: Scimitar ---------------------------------------------------------------------------------
1533033531
Kryx
Pro
Sheet Author
API Scripter
%{selected|repeating_action_$1_roll} will work as well. This method doesn't seem very extensible though as different monsters have their attack on different actions. Sometimes it's 0, sometimes multiattack is 0. Token actions seem like a much more extensible option.
1533038070

Edited 1534648614
I actually have multiple created one is for Action: Multiattack &nbsp; and then some for&nbsp; Actions 0-3 and I delete the ones I don't need. Still doesn't explain why I had problems with wolf and not Goblin Boss but not the rest. I tried yours but not effect on the Goblin Boss. very strange. I thought I fixed the wolf but I can't break it again and it just works fine now... Edit: Ok so I created a new one from scratch and it works, I renamed the old one adding (Broken) not to confused them and it works now!!?!? So I changed the name back on the old one ...and it stopped working again?!?!? lol. I played around with re-attaching the token but then now it doesn't bring up the macros like it should... So I deleted it. The new one works though. Weirdness. Edit2: So it turns out I somehow dragged the monster manual entry over to the journal again but this time it was at the top so I didn't see it. Not sure why having the monster manual "character sheet" causes problems with NPCs I created from it but it does. This my notes sheet that I used to sort out my "Monster" template, just for FYI. The ones without bold headings are the ones I have not tested yet. NPC Macros Action: Multi (or remove 1-3 for action 0) /emas An enemy attacks! /w GM %{selected|repeating_action_$0_roll} &amp;{template:5e-shaped} {{freetext= **@{selected|token_name}**}} /w GM %{selected|repeating_action_$1_roll} &amp;{template:5e-shaped} {{freetext= **@{selected|token_name}**}} /w GM %{selected|repeating_action_$2_roll} &amp;{template:5e-shaped} {{freetext= **@{selected|token_name}**}} /w GM %{selected|repeating_action_$3_roll} &amp;{template:5e-shaped} {{freetext= **@{selected|token_name}**}} &nbsp; Action: Attack-1 /emas An enemy attacks! /w GM %{selected|repeating_action_$1_roll} &amp;{template:5e-shaped} {{freetext= **@{selected|token_name}**}} -or- Action: Attack-1 with recharging ability /emas An enemy attacks! /w GM &amp;{template:5e-shaped} %{selected|repeating_action_$1_roll} {{freetext= Successful Recharge on 6 = [[1d6]] **@{selected|token_name}**}} &nbsp; Action: Attack-2 /emas An enemy attacks! /w GM %{selected|repeating_action_$2_roll} &amp;{template:5e-shaped} {{freetext= **@{selected|token_name}**}} &nbsp; Action: Attack-3 /emas An enemy attacks! /w GM %{selected|repeating_action_$3_roll} &amp;{template:5e-shaped} {{freetext= **@{selected|token_name}**}} &nbsp; Trait: First trait or special ability /w gm %{selected|repeating_trait_$0_roll} &amp;{template:5e-shaped} {{freetext= **@{selected|token_name}**}} &nbsp; Trait: Second trait or special ability /w gm %{selected|repeating_trait_$1_roll} &amp;{template:5e-shaped} {{freetext= **@{selected|token_name}**}} &nbsp; Innate Spell casting /w gm &amp;{template:5e-shaped} %{selected|shaped_spells}{{text_big=Innate Spell Casting}} {{freetext= Spell casting ability is Charisma / Intelligence / Wisdom Spell save is DC## Spell “to hit” is +# Spells have no material component requirement **@{selected|token_name}**}} &nbsp; Spell: Spell lvl 0 (Cantrip) /emas An enemy begins making some strange gestures! /w gm %{selected|repeating_spell0_$0_roll} &amp;{template:5e-shaped} {{freetext= **@{selected|token_name}**}} &nbsp; Spell: Spell level 1 /emas An enemy begins making some strange gestures! /w gm %{selected|repeating_spell1_$0_roll} &amp;{template:5e-shaped} {{freetext= **@{selected|token_name}**}} &nbsp; Reaction: Reaction-0 /w gm %{selected|repeating_reaction_$0_roll} &amp;{template:5e-shaped} {{freetext= **@{selected|token_name}**}} &nbsp; Ability Recharge check /w gm &amp;{template:5e-shaped} {{title=Recharge Check}} {{freetext= Successful Recharge on 4-6 = [[1d6]] **@{selected|token_name}**}} &nbsp; Legendary-Action-Amount /w gm &amp;{template:5e-shaped} {{show_character_name=1}} &nbsp; {{character_name=@{selected|character_name}}} {{title=Legendary Actions}} {{description=The @{selected|character_name} can take @{legendaryactions_macro_var} legendary actions, choosing from the options below. Only one legendary option can be used at a time and only at the end of another creature's turn. The @{selected|character_name} regains spent legendary actions at the start of its turn.}} &nbsp; Legendary: Action-0 /w gm %{selected|repeating_legendaryaction_$0_roll} &amp;{template:5e-shaped} {{freetext= **@{selected|token_name}**}} &nbsp; Legendary: Action-1 /w gm %{selected|repeating_legendaryaction_$1_roll} &amp;{template:5e-shaped} {{freetext= **@{selected|token_name}**}} &nbsp; Legendary: Action-2 /w gm %{selected|repeating_legendaryaction_$2_roll} &nbsp; &amp;{template:5e-shaped} {{freetext= **@{selected|token_name}**}} &nbsp; Lair-Action 0 /emas your surroundings are changing… /w gm %{selected|repeating_lairaction_$0_roll} &amp;{template:5e-shaped} {{title= Lair Action 0}} {{show_character_name=1}} &nbsp; {{character_name=@{selected|character_name}}} {{subheader=1 Lair action on initiative 20 per round}} &nbsp; Lair-Action 1 /emas your surroundings are changing… /w gm %{selected|repeating_lairaction_$1_roll} &amp;{template:5e-shaped} {{title= Lair Action 1}} {{show_character_name=1}} &nbsp; {{character_name=@{selected|character_name}}} {{subheader=1 Lair action on initiative 20 per round}} &nbsp; Regional Effects /w gm &amp;{template:5e-shaped} {{title= Regional Effects}} {{show_character_name=1}} {{character_name=@{selected|character_name}}} /w gm &nbsp; %{selected|repeating_regionaleffect_$0_roll} &amp;{template:5e-shaped} {{subheader= Regional Effect 1}} /w gm &nbsp; %{selected|repeating_regionaleffect_$1_roll} &amp;{template:5e-shaped} {{subheader= Regional Effect 2}} /w gm &nbsp; %{selected|repeating_regionaleffect_$2_roll} &amp;{template:5e-shaped} {{subheader= Regional Effect 3}} &nbsp; &nbsp; Character and NPC macros &nbsp; Initiative /emas An enemy readies for combat!! /w gm &nbsp; &amp;{template:5e-shaped} {{show_character_name=1}} {{character_name=@{character_name}}} {{freetext= Initiative[[1d20+@{dexterity_mod}&amp;{tracker}]] }} &nbsp; Saves /w gm &amp;{template:5e-shaped} {{show_character_name=1}} {{character_name=@{character_name}}} {{text=Str.Save [[1d20+@{strength_mod}]] | &nbsp; [[1d20+@{strength_mod}]] &nbsp;&nbsp;&nbsp;&nbsp; Int.Save [[1d20+ @{intelligence_mod}]] | &nbsp; [[1d20+ @{intelligence_mod}]] Dex.Save [[1d20+@{dexterity_mod}]] | &nbsp; [[1d20+@{dexterity_mod}]] &nbsp;&nbsp;&nbsp;&nbsp; Wiz.Save [[1d20+ @{wisdom_mod}]] | &nbsp; [[1d20+ @{wisdom_mod}]] Con.Save [[1d20+ @{constitution_mod}]] | &nbsp; [[1d20+@{constitution_mod}]] &nbsp;&nbsp;&nbsp;&nbsp; Cha.Save [[1d20+ @{charisma_mod}]] | &nbsp; [[1d20+ @{charisma_mod}]]}} &nbsp; DR/Immunities /w gm &amp;{template:5e-shaped} {{show_character_name=1}} &nbsp; {{character_name=@{selected|character_name}}} {{name=DR/Immunities}} {{Damage Resistance= @{selected|damage_resistances}}} {{Damage Vulnerability= @{selected|damage_vulnerabilities}}} {{Damage Immunity= @{selected|damage_immunities}}} {{Condition Immunity= @{selected|condition_immunities}}} &nbsp; Perception &nbsp;&nbsp;&nbsp;&nbsp; /emas An enemy Looks around /w gm &amp;{template:5e-shaped} {{show_character_name=1}} &nbsp; {{character_name=@{selected|character_name}}} {{freetext=Perception Test [[1d20+@{selected|perception}]] | [[1d20+@{selected|perception}]]Passive [[10+@{selected|perception}]]}} &nbsp; Stats /w gm %{selected|shaped_statblock}  &nbsp; Call Sheet /w gm &nbsp; <a href="https://journal.roll20.net/character/@{selected|character_id}" rel="nofollow">https://journal.roll20.net/character/@{selected|character_id}</a> &nbsp; Characters macros &nbsp; Find Character name for macros /w me &nbsp; @{selected|character_id} &nbsp; Melee Weapon attack %{&lt;Character ID&gt;|repeating_offense_$0_roll} -or- /w gm &nbsp; &amp;{template:5e-shaped} %{&lt;Character ID&gt;|repeating_offense_$1_roll} @(target|AC} {{title=Battleaxe(TwoHanded)}} {{show_character_name=1}} &nbsp; {{character_name=&lt;Character Name&gt;}} {{targetName=@{target|token_name}}} {{targetAC=@{target|AC}}} &nbsp; &nbsp;
The only think I don't like about this setup is that I have not found a way to use a formula for HP instead so I end up setting it to the static on the sheet then disconnecting it so I can change it without changing them all.
Trying to add: ------------------------------- Innate spell casting /w gm %{selected|repeating_trait_$2_trait} /w gm %{selected|shaped_spells} ------------------------------- But it doesn't output the caster block...
1533049132
Kryx
Pro
Sheet Author
API Scripter
use "roll" instead of "action" for all the macros. "action" will be removed at some point. Again, I really don't recommend the path that you're on. One of the main goals of the Shaped sheet is to never have to make custom macros like this. Everything is built in to the sheet. For example your saving throws will never be accurate for several reasons: They don't include the optional proficiency They don't include modifiers edge cases saving throws have half proficiency setting modifying base dc Seriously, I do not recommend doing what you're doing. The result will be lots of work for inaccurate rolls. If you want hidden rolls then choose to mark all NPCs as using a hidden output.
I will update to "role" but is that just for actions or is that everything? If that is the only variable then why is it needed? Does this mean "actions" that currently just bring up game play descriptions like Mutli-attack are still called with "roll" at the end? I am not doing it for just the hidden roles I am also doing it for the ability to manage NPCs and characters without the need to constantly access their characters sheets . The way I have it setup I can run fights by clicking on the token in action and hitting the macro buttons for quick information and to act. Their is a bit of a load time opening character sheets that is not caused by a pinch point on my PC and tracking multiple windows can be a hassle. If you have the capability to import all the monsters from the Monster Manual and Volo's guide, with tokens and macros for so I don't have to access the characters sheets...GREAT!!! but... I have not seen that posted any where. As it is I have to set these up so I can use them and at the same time I am sorting them into folders by CR and type. I have a random encounter macro that several dice. If the first (a d20) is a 1 or a 20 they have an encounter, the second a (d20) sets the difficulty of the encounter, the third (a d8) decides which pool I build the encounter from, each type being used for a different story and me having 8 stories planned, Then a 4th dice (d10) determines the number of enemies they fight. I use Kobold fight club to limit the selection then create the encounter based on these parameters to continue one of these stories. Draw the premade tokens with macros out and do battle. So its all random but planned out, lol. I can simply ignore or choose for something to happen if appropriate or needed due to lack of progression in a specific story arc.&nbsp; 1. Optional Proficiencies on NPCs are rare. If I run into one I build a full macro instead of a shortcut similar to how I did Perception above its just slower to implement that creature but the rest of the template will usually work fine since most characters will only have 1 maybe 2 exceptions and the rest will work just fine. 2. Most of these are just calling the character sheets rolls as is so if they are missing modifiers are you saying it does not use the modifiers? If not then I will need to build my templates to be accurate anyway but that does not appear to be the case. Perhaps you can clarify this? 3. Edge cases will require custom macros, which I am doing. It just takes longer when I run into those creatures. That's said some edge case using just the NPC character sheet don't have anything at all and are just notes. For example Blink dog has an attack and teleport that recharges. The teleport trait on the character sheet just troughs out the text box. so I include the attack and a role to see if it recharges for next turn. /emas The @{character_name} attacks then teleports away! /w GM%{selected|repeating_action_$0_action} /w GM%{selected|repeating_action_$1_action} /w gm &amp;{template:5e-shaped} {{title=Recharge Teleport}} {{freetext=Recharge on 4-6 = [[1d6]]}}