Is there a macro function to hide bars?
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice
- Shadowfireomega
- Giant
- Posts: 218
- Joined: Thu Dec 23, 2010 12:12 am
- Location: San Antonio, Texas
Is there a macro function to hide bars?
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
-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
Re: Is there a macro function to hide bars?
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
by the way, note that you can make Bars thicker and stack then that way
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
- 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?
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 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
-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
Re: Is there a macro function to hide bars?
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.
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
- 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?
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
-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