Macro Issue moving from 1.3 to 1.4
Posted: Tue Sep 26, 2017 2:35 pm
I've been using MapTool for several years now as a battlemat replacement in my Pathfinder game. To this end, I've built a streamlined framework that suits my needs for basic combat management (tracking HP, rolling initiative, noting status effects, etc).
Recently, my group had a change of play venue, and I had to rethink my GM computer situation. I decided to make the switch to 1.4 as part of whole rethink.
Currently I have both 1.3.b91 and 1.4.1.8 on my laptop. I loaded a campaign file with my framework into 1.4, and for the most part it works fine.
I created a "token setup" macro that I run on all tokens I bring into the campaign. It was built in 1.3 using the "input" roll command to generate a very basic dialog that requests basic info to allow the aforementioned tracking (Max HP, current HP, initiative modifier, etc). Basically, it is an easier way to change properties on the token without having to open them up and directly edit them. Unfortunately, when I try to use this macro in 1.4, it doesn't work - instead of having a single dialog pop up it cycles through a bunch of dialogs that ask for some of the information, but not all of it.
I'm assuming that there are some changes in the syntax between the two versions. I'm not a coder (I just pretend sometimes), and it's been a LONG time since I had to work on my framework. I'm hoping that there is a relatively easy fix, but I'm perfectly willing to rework the macro from the ground up if need be.
In the meantime, I can work around this by opening a campaign file containing the macro in 1.3, doing the work of setting up the token, saving that a .rptok file, then bringing that file into 1.4 - obviously less than ideal, but workable until I can figure it out.
Thanks in advance for the help.
Recently, my group had a change of play venue, and I had to rethink my GM computer situation. I decided to make the switch to 1.4 as part of whole rethink.
Currently I have both 1.3.b91 and 1.4.1.8 on my laptop. I loaded a campaign file with my framework into 1.4, and for the most part it works fine.
I created a "token setup" macro that I run on all tokens I bring into the campaign. It was built in 1.3 using the "input" roll command to generate a very basic dialog that requests basic info to allow the aforementioned tracking (Max HP, current HP, initiative modifier, etc). Basically, it is an easier way to change properties on the token without having to open them up and directly edit them. Unfortunately, when I try to use this macro in 1.4, it doesn't work - instead of having a single dialog pop up it cycles through a bunch of dialogs that ask for some of the information, but not all of it.
I'm assuming that there are some changes in the syntax between the two versions. I'm not a coder (I just pretend sometimes), and it's been a LONG time since I had to work on my framework. I'm hoping that there is a relatively easy fix, but I'm perfectly willing to rework the macro from the ground up if need be.
In the meantime, I can work around this by opening a campaign file containing the macro in 1.3, doing the work of setting up the token, saving that a .rptok file, then bringing that file into 1.4 - obviously less than ideal, but workable until I can figure it out.
Thanks in advance for the help.