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
This post has been closed. You can still view previous posts, but you can't post any new replies.

D&D 5th ed ogl sheet NPC

Im using the following macro to querry targeted tokens for info : /em The @{selected|npc_name} swiftly attacks you with ?{Which Attack?|Melee,@{selected|melee1} |Ranged,@{selected|ranged1} |Special,@{selected|special1} } your AC please. I would like it too call the action from the npc sheet instead of having to input custom lines in attributes for melee1/randged1/special1, my problem is that the sheet that has action is npc_content and contains all the info and  dosn't read it and output correctly. What i am asking is there a way to use the NPC_Content without having to make a bunch of custom lines in attribute, maybe make it output like it does in the sheet?
I figured this would belong here because im asking specifically about the NPC_Content data and how to make it useable.
1476320806
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
You won't be able to use the abilities created by the sheet in a drop down because they have problem characters in them, namely the syntax for the roll templates. See the following wiki for more details. <a href="https://wiki.roll20.net/Macros#Advanced_Usage_for_Roll_Queries" rel="nofollow">https://wiki.roll20.net/Macros#Advanced_Usage_for_Roll_Queries</a>
thank you, while its great and versatile, it requires creating 8 additional lines in attributes for attacks and damage. meaning haveing to create a large monster database.
1476323201

Edited 1476323237
Tetsuo
Forum Champion
It might just be easier to make three global macros Melee, Ranged, and Special that simply pull the appropriate attack: : /em The @{selected|npc_name} swiftly attacks you with @{selected|melee1} vs AC for example.&nbsp;
yeah thats where I learned general use of those. AN example of what i was trying to call is npc_content which somehow the sheet turns into a macro for the sheet:&nbsp; Traits**Blood Frenzy**: The sahuagin has advantage on melee attack rolls against any creature that doesn't have all its hit points.**Limited Amphibiousness**: The sahuagin can breathe air and water, but it needs to be submerged at least once every 4 hours to avoid suffocating.**Shark Telepathy**: The sahuagin can magically command any shark within 120 feet of it, using a limited telepathy. Actions**Multiattack**: The sahuagin makes two melee attacks: one with its bite and one with its claws or spear.**Bite**: Melee Weapon Attack: +3 to hit, reach 5 ft., one target. Hit: 3 (1d4 + 1) piercing damage.**Claws**: Melee Weapon Attack: +3 to hit, reach 5 ft., one target. Hit: 3 (1d4 + 1) slashing damage.**Spear**: Melee or Ranged Weapon Attack: +3 to hit, reach 5 ft. or range 20/60 ft., one target. Hit: 4 (1d6 + 1) piercing damage, or 5 (1d8 + 1) piercing damage if used with two hands to make a melee attack. ) non of this is code its just description. how does the sheet take the info from this description? API function?
1476325805
Tetsuo
Forum Champion
I'd definitely recommend reading&nbsp; This for info on the OGL sheet and how it handles macros
that is a good idea Franky..... i am still working out the select target so the macro will do a vs pc token ac check hit or fail then if hit do melee2(my damage line placed in custom attributes line on page) But what i really want to do is take the data that is used for the actions section generation on an npc page and call on that for attack.
im having issues with getting the repeating commands to work on npc sheets... are you saying I can refer to the repeating label that is generated if you drag and drop the npc attack to your macro bar??????
That link Franky is invaluable... I will consider my question to sheets closed. Now to hit macro forum and see if i can get help fine tuning. Now if I can find some way to select what action used... Thanks again community for your awsome and freindly help. Franky H. said: I'd definitely recommend reading&nbsp; This for info on the OGL sheet and how it handles macros