I have used the Fading Arc HP Meter for 10 years now:
viewtopic.php?f=53&t=18277
I just realized that the hit point bars are not working on my tokens. I have not changed anything in regards to these since implementing them.
I'm not sure what version of MT this feature stopped working in, but I checked from MT v1.5.14 through MT v1.7.0 and I keep getting the following error:
"Error with function "setBarVisible": unknown bar "HPM".
What is the issue exactly?
Sudden error using Fading Arc HP Meter
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.
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.
Re: Sudden error using Fading Arc HP Meter
I think it was legacy code from the 3.5/PF framework. You can probably delete those 2 lines.
Change
To
Assuming you don't have those defined in your campaign. There may have been an update, up until now, that didn't care if you set the value of a non-existent bar.
Change
Code: Select all
[H: setBarVisible("HP",0)]
[H: setBarVisible("HPM",0)]
[H: setBarVisible("HPNonLethalDMG",0)]
[H: setBarVisible("HPMNonLethalDMG",0)]
Code: Select all
[H: setBarVisible("HP",0)]
[H: setBarVisible("HPNonLethalDMG",0)]
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
Re: Sudden error using Fading Arc HP Meter
That fixed it. Thank you very much.