Referencing a Token Property in the Statsheet

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

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

Post Reply
lazors_pew_pew
Kobold
Posts: 1
Joined: Tue Nov 03, 2020 2:02 am

Referencing a Token Property in the Statsheet

Post by lazors_pew_pew »

I have some objects and tokens whose mouseover statsheet I would like to give a different information based on token properties (like, your intelligence stat gives you this increased written info about so-and-so, etc). I don't know if this can be done through a macro since it should happen regardless of the GM executing it, right? If anyone could point me in the right direction, that'd be great. Thanks in advance.

User avatar
bubblobill
Giant
Posts: 167
Joined: Sun Jan 24, 2010 3:07 pm

Re: Referencing a Token Property in the Statsheet

Post by bubblobill »

Easiest for objects: If something is on the Object Layer and you click on it the content of Notes is displayed.
image_2020-11-13_131948.png
image_2020-11-13_131948.png (72.34 KiB) Viewed 2661 times
image_2020-11-13_131739.png
image_2020-11-13_131739.png (373.75 KiB) Viewed 2661 times
You can execute macro code in token properties but it can get messy.
You might want to define additional properties for information purposes, e.g.

Code: Select all

Intelligence (Int)
*@Int_:[r, if(Intelligence>12):"You know stuff"]
image_2020-11-13_132708.png
image_2020-11-13_132708.png (303.64 KiB) Viewed 2661 times
Bubblobill on the forum.
@Reverend on the MapTool Discord Server

Responsible for less atrocities than most... I do accept responsibility for these though: SmartDoors, Simple d20 Framework - barebones, Drop-in: All 3.5 SRD Monsters, Drop in: Simple Character Editor, Battletech Framework

User avatar
wolph42
Winter Wolph
Posts: 9999
Joined: Fri Mar 20, 2009 5:40 am
Location: Netherlands
Contact:

Re: Referencing a Token Property in the Statsheet

Post by wolph42 »

i created a special macro for that, to prevent the messiness but overall its wiser to work with an ontokenselect method then onmouseover... IRC link is in my sig.

Post Reply

Return to “Macros”