Page 1 of 1

HP bar visible only to DM

Posted: Sat Apr 08, 2017 6:55 pm
by Ditto
Is there an (easy) way to make token HP bars visible only to the DM?

Preferably tokens set to NPC only ...
or at least something that can be "set" on a token ..

or failing that .. sure, all tokens ..

Re: HP bar visible only to DM

Posted: Sat Apr 08, 2017 7:16 pm
by aliasmask
Easy may be relative, but you will need 2 sets of health bars. One for the PCs to see and the other just for the GM. You can set the bar view to GM with the check boxes in campaign preferences under Bars and the bars that go on the NPCs. You may have one bar that says Health and another that say Health_NPC. Then your code before setting the bar info will have to check the token for isNPC() and make the appropriate changes.

Re: HP bar visible only to DM

Posted: Sat Apr 08, 2017 8:24 pm
by Ditto
aliasmask wrote:Easy may be relative, but you will need 2 sets of health bars. One for the PCs to see and the other just for the GM. You can set the bar view to GM with the check boxes in campaign preferences under Bars and the bars that go on the NPCs. You may have one bar that says Health and another that say Health_NPC. Then your code before setting the bar info will have to check the token for isNPC() and make the appropriate changes.
Cool thanks .. I'll give that try.