Object info from Token layer.

Discuss macro implementations, ask for macro help (to share your creations, see User Creations, probably either Campaign Frameworks or Drop-in Resources).

Moderators: Azhrei, dorpond, trevor, giliath, jay, Mr.Ice

Post Reply
User avatar
Full Bleed
Demigod
Posts: 4444
Joined: Sun Feb 25, 2007 11:53 am
Location: MD
Contact:

Object info from Token layer.

Post by Full Bleed »

Is there some way to retrieve an object's ID, Name, or Image when clicking on it from the token layer?

Use Case: I can use onChangeSelection to dynamically update my GM control sheet with regard to what token I've currently got selected. But when it comes to objects I can't modify them easily without switching to their layer or creating a separate list on my control sheet for objects. MT knows I'm clicking on an object from the token layer (because it displays the notes)... I'd like it treat it as "selected" or "current" when clicked on (from the token layer), too.

Would this be (or is it) possible?
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."

bubblobill
Cave Troll
Posts: 96
Joined: Sun Jan 24, 2010 3:07 pm

Re: Object info from Token layer.

Post by bubblobill »

Check out related issues:
https://github.com/RPTools/maptool/issues/1837
https://github.com/RPTools/maptool/issues/1420

You might want to pile in to ensure the functionality you want is included.

User avatar
Full Bleed
Demigod
Posts: 4444
Joined: Sun Feb 25, 2007 11:53 am
Location: MD
Contact:

Re: Object info from Token layer.

Post by Full Bleed »

bubblobill wrote:
Tue Jun 23, 2020 6:26 am
Check out related issues:
https://github.com/RPTools/maptool/issues/1837
https://github.com/RPTools/maptool/issues/1420

You might want to pile in to ensure the functionality you want is included.
Thanks for the links. Before I pushed for a FREQ I wanted to make sure I wasn't missing some way to do what I was trying to do with the current functionality.
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."

Post Reply

Return to “Macros”