Skip to content

Functions in TokenPropertyFunctions.java to have mapName as optional parameter #545

@Merudo

Description

@Merudo

Is your feature request related to a problem? Please describe.
It is a pain to change properties of tokens on other maps. Instead of having to change the map and possibly create flickering, it would be better to add the mapName as additional optional argument.

Describe the solution you'd like
I would like the following functions in TokenImage.java to take a mapName parameter so they could work on tokens in other maps:

    getPropertyNames
    getPropertyNamesRaw
    hasProperty
    isNPC
    isPC
    setPC
    setNPC
    getLayer
    setLayer
    getSize
    setSize
    resetSize
    getOwners
    isOwnedByAll
    isOwner
    resetProperty
    getProperty
    setProperty
    isPropertyEmpty
    sendToBack
    bringToFront
    setPropertyType
    getPropertyType
    getRawProperty
    getTokenFacing
    setTokenFacing
    removeTokenFacing
    getTokenRotation
    getMatchingProperties
    isSnapToGrid
    setOwner
    setOwnedByAll
    getTokenNativeWidth
    getTokenNativeHeight
    getTokenWidth
    getTokenHeight
    setTokenWidth
    setTokenHeight
    getTokenShape
    setTokenShape
    getGMNotes
    setGMNotes
    getNotes
    setNotes
    setTokenSnapToGrid

Metadata

Metadata

Assignees

Labels

featureAdding functionality that adds valuemacro changesThis issue adds or changes macro functions. Extra work is required (testing, wiki, code editor)testedThis issue has been QA tested by someone other than the developer.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions