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

5 ED OGL Npc spell call and use

Ok, I am trying to call and use spells added to an NPC sheet lin a similar fashion of using this command   %{selected|repeating_npcaction_$0_npc_action} to recall npc attacks, I am having issues calling spells from an npc sheet. Is there anything I am over looking? Yes, I set spellcaster box on npc sheet.
Hi, William B. I've just added an Ability call for an NPC spell to the Dynamic References to Repeating Sections section of the Roll20 Wiki. They are of the form: %{selected|repeating_spell-npc_$0_spell}
I had tried that a few days ago, maybe I put a space in it or something because all I received was the string shot out into chat. Now to get a drop menu up and working 1-10 and all monster npcs will be good to go. Again, you save my face from the keyboard because my current method was manipulating %{selected|repeating_attack_-KU00oYN77xp4knFZ2Rb_attack} and trying to get my desired affect. After all is said and done, I think I may write a short page on how to and a cut and paste template for dms.
Ok, i have worked the querry command in there but i cant get it to do just 1 command, it runs both spell 1 and 2. ?{Spell Action|Action 1,%value1 |Action 2,%value2}} %value2 = %{selected|repeating_spell-npc_$1_spell} %value1 = %{selected|repeating_spell-npc_$0_spell}
but I finaly have the spells from $x coming out correctly, its just running them all in order instead of calling just %value1 and ending.