Skip to content

Standardization of Macro Function #1399

Open
@stolkun

Description

@stolkun

Is your feature request related to a problem? Please describe.
It's rather unclear when i have to use macros with grid distance wether i should precise the units or not.
For example copyToken argument "useDistance" is default to false meaning it use Distance per Cell.
While getTokenX or getTokenY argument "units" is default to true meaning it use Distance in pixel.
Example of use: i wanted to copyToken to my current token so i used getToken and because i didn't precise the units for any thinking it would be the same, my pixels units of getToken transformed in cell which copied my token extremely far.

Describe the solution you'd like
I would like a standardization of macro function on the units they use if possible so that there is no confusion in the usage of those macros.

Additional context
https://lmwcs.com/rptools/wiki/getTokenX
https://lmwcs.com/rptools/wiki/copyToken

Metadata

Metadata

Assignees

No one assigned

    Labels

    deferredKept for a future versionfeatureAdding functionality that adds value

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions