HP bar visible only to DM

Thoughts, Help, Feature Requests, Bug Reports, Developing code for...

Moderators: dorpond, trevor, Azhrei

Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior. :)
Post Reply
Ditto
Giant
Posts: 179
Joined: Thu Jul 28, 2011 1:06 pm

HP bar visible only to DM

Post 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 ..

User avatar
aliasmask
RPTools Team
Posts: 9024
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: HP bar visible only to DM

Post 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.

Ditto
Giant
Posts: 179
Joined: Thu Jul 28, 2011 1:06 pm

Re: HP bar visible only to DM

Post 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.

Post Reply

Return to “MapTool”