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
OK:[r: setTokenLayoutProps(2, 50, 50, "Hero")] Not:[r: setTokenLayoutProps(2, 50, 50, "Hero", "Grasslands")] Error message: Function 'setTokenLayoutProps' requires no more than 4 parameters; 5 were provided.
To Reproduce
Add the "Hero" token on the map of "Grasslands".
Run the setTokenLayoutProps() with five parameters, such as [r: setTokenLayoutProps(2, 50, 50, "Hero", "Grasslands")]
Will get the error: Function 'setTokenLayoutProps' requires no more than 4 parameters; 5 were provided.
Expected Behaviour
Allow to call with five parameters or revise that document.
Screenshots
No response
MapTool Info
1.12.2, 1.13.0-beta.1
Desktop
Windows 10 Pro
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Describe the Bug
On the "setTokenLayoutProps()"'s document in the wiki, that seems to allow to have five parameters, but calling with five parameters says error.
http://wiki.rptools.info/index.php/setTokenLayoutProps
OK:
[r: setTokenLayoutProps(2, 50, 50, "Hero")]
Not:
[r: setTokenLayoutProps(2, 50, 50, "Hero", "Grasslands")]
Error message: Function 'setTokenLayoutProps' requires no more than 4 parameters; 5 were provided.
To Reproduce
setTokenLayoutProps()
with five parameters, such as[r: setTokenLayoutProps(2, 50, 50, "Hero", "Grasslands")]
Expected Behaviour
Allow to call with five parameters or revise that document.
Screenshots
No response
MapTool Info
1.12.2, 1.13.0-beta.1
Desktop
Windows 10 Pro
Additional Context
No response
The text was updated successfully, but these errors were encountered: