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

HP bar when creating NPC characters

Hi I'm creating characters as NPCs with the OGL 5e character sheet. I've dragged-and-dropped creatures into these sheets and while they work, when I link a token to them and make Bar 1 show the HP, it does not load a HP value, only a maximum (resulting in an empty bar). Is there a setting to change this somewhere? Example: <a href="http://puu.sh/ryGTb/d6e816d0e4.png" rel="nofollow">http://puu.sh/ryGTb/d6e816d0e4.png</a> Also, when I change the HP on an instance of a token linked to a character, all instances of the token change HP at once. Is there a way to prevent this?
1475685764
The Aaron
Roll20 Production Team
API Scripter
I don't know about setting the current value automatically, but as for setting up the tokens to have individual hitpoints, see this page:&nbsp; <a href="https://wiki.roll20.net/Linking_Tokens_to_Journals" rel="nofollow">https://wiki.roll20.net/Linking_Tokens_to_Journals</a> (TL;DR: You don't want to leave the HP bar linked for NPCs)
1475685801
Jakob
Sheet Author
API Scripter
I don't know anything about the first issue, but what you would do for the Hp bar is to link the HP once (to set it to the right value) and then unlink &nbsp;it again before saving the token as default token. The saved token will have right number of hp on drop, but will not affect other tokens on changes (or the hp on the character).
1475686795

Edited 1475686996
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Well, was gonna post that you need to use the npcd_hp attribute, but luckily I went and checked it first. That only populates the current value with the hp. There doesn't appear to be an npc attribute that contains both the current and max values. I would guess that this is not intended, but who knows. I've posted a link to this thread in the&nbsp; OGL sheet's thread in the character sheet forums. Hopefully the Devs can give some better guidance.
The Max HP issue was brought up when the sheet first went live, and it has remained that way, so I think it was intentional. Something about not having a max attribute assigned. As it stands you only have to fill that in once. After the token is linked to the sheet if you drag new ones out they already have it. You will need to get in there to un-link the hp anyway so it's only one extra click.
1475692701
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Yep, pretty much what Steve said in&nbsp; his response on the OGL sheet's thread.