You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a new PC token and clicking "Configure Token" in the GM Token Management macro group, the Tweaking Values popup does not load. The following error is printed to chat instead.
Invalid condition in IF(getSightType() == "Normal") roll option.
Statement options (if any): if(getSightType() == "Normal")
Statement Body : vSightTypeIndex = 0; vSightTypeIndex = if(getSightType() == "Darkvision", 1, 2)
Players are able to access this page through their respective sheet, and using "Configure Token" on an otherwise configured token does not reproduce the issue.
Edit: formatting
The text was updated successfully, but these errors were encountered:
The bug appears to be specifically when players create the token themselves. There may be ways to recode the macros to work around this, but I'm unsure.
Since a manual workaround is trivial I have documented the workaround below rather than complicate the framework to deal with the bug. I will also report it on the MapTool forums.
Recommended Workaround
When creating tokens, players should double-click them to open the editor and hit 'Ok'. This will fix the sight value for the token so the Tweak Token dialog will work.
When creating a new PC token and clicking "Configure Token" in the GM Token Management macro group, the Tweaking Values popup does not load. The following error is printed to chat instead.
Players are able to access this page through their respective sheet, and using "Configure Token" on an otherwise configured token does not reproduce the issue.
Edit: formatting
The text was updated successfully, but these errors were encountered: