Is there a macro function to hide bars?

Discuss macro implementations, ask for macro help (to share your creations, see User Creations, probably either Campaign Frameworks or Drop-in Resources).

Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice

Post Reply
User avatar
Shadowfireomega
Giant
Posts: 218
Joined: Thu Dec 23, 2010 12:12 am
Location: San Antonio, Texas

Is there a macro function to hide bars?

Post by Shadowfireomega »

I currently have three bars for my PCs; HP, TempHP, and NonLethal. The problem is I have one bar up top, one on the left, and one on the bottom, and when all are active the one on the left is over the first portion of the top and bottom bars. Is there a macro function to hide such bars if a condition is met (like no temp HP or no NonLethal damage)?
"I love being wrong, for if I was always right, there would be nothing left to learn, and that would be a world I would not want to live in."
-Benjamin Fisher
"Knowledge is knowing a tomato is a fruit; wisdom is not putting it in a fruit salad."
-Miles Kington
"Space is his favorite thing in the world!"
-Kayla Kros
"Anything times 1 is 1"
-Kayla Kros

User avatar
wolph42
Winter Wolph
Posts: 9999
Joined: Fri Mar 20, 2009 5:40 am
Location: Netherlands
Contact:

Re: Is there a macro function to hide bars?

Post by wolph42 »

Yeah there is. But you'll have to check the wiki. Bar.hide ou something, not sure...
by the way, note that you can make Bars thicker and stack then that way

User avatar
Shadowfireomega
Giant
Posts: 218
Joined: Thu Dec 23, 2010 12:12 am
Location: San Antonio, Texas

Re: Is there a macro function to hide bars?

Post by Shadowfireomega »

Thanks, I had tried looking for it but I couldn't find it, knowing it was there (even if it was not bar.hide) helped me find it. It's setBarVisible :D and I will check out the stacking as well, thanks!
"I love being wrong, for if I was always right, there would be nothing left to learn, and that would be a world I would not want to live in."
-Benjamin Fisher
"Knowledge is knowing a tomato is a fruit; wisdom is not putting it in a fruit salad."
-Miles Kington
"Space is his favorite thing in the world!"
-Kayla Kros
"Anything times 1 is 1"
-Kayla Kros

User avatar
aliasmask
RPTools Team
Posts: 9031
Joined: Tue Nov 10, 2009 6:11 pm
Location: California

Re: Is there a macro function to hide bars?

Post by aliasmask »

Yeah, setBarVisible(barName,0) would turn it off. You may want to check out my "Fading Arc" thread. It has graphics and code for overlapping health bars.

User avatar
Shadowfireomega
Giant
Posts: 218
Joined: Thu Dec 23, 2010 12:12 am
Location: San Antonio, Texas

Re: Is there a macro function to hide bars?

Post by Shadowfireomega »

I am rushing a bit right now, but after this campaign I'm DMing I plan on finishing up my framework before the next campaign. When I do that I will defiantly be adding the fading arch, it looks beautiful, thanks!
"I love being wrong, for if I was always right, there would be nothing left to learn, and that would be a world I would not want to live in."
-Benjamin Fisher
"Knowledge is knowing a tomato is a fruit; wisdom is not putting it in a fruit salad."
-Miles Kington
"Space is his favorite thing in the world!"
-Kayla Kros
"Anything times 1 is 1"
-Kayla Kros

Post Reply

Return to “Macros”