Tooltip problem

These are tools and utilities that make it easier to run games. This includes Lib: macro tokens dropped into MapTool to manage the game, a conversion file for CharacterTool to allow use in MapTool, or just about anything else you can think of -- except graphics with macros and anything specific to a particular campaign framework. Those are already covered by the Tilesets subforum and the Links and External Resources forum.

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

Ditto
Giant
Posts: 179
Joined: Thu Jul 28, 2011 1:06 pm

Re: Tooltip problem

Post by Ditto »

aliasmask wrote:
Ditto wrote:With this format tooltip, essentially, you mimic/expand on the [t: feature ... what about if you only want to show the tool tip to the GM? ie [t,gt: ??
What would have to change to do that?
Yeah, I do this in my framework. You basically have 2 different outputs. This is one reason why it's good to put output in to a variable. The tricky part is determining who the GM is from a player's perspective.
uh .. wouldn't:
http://lmwcs.com/rptools/wiki/getGMName
work ???

Or even:
http://lmwcs.com/rptools/wiki/getAllPlayerNames
+
http://lmwcs.com/rptools/wiki/isGM
?? Not sure I see the difficulty in that .. but I suppose I will when I try, right? :lol:

User avatar
aliasmask
RPTools Team
Posts: 9024
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: Tooltip problem

Post by aliasmask »

Ditto wrote:
aliasmask wrote:
Ditto wrote:With this format tooltip, essentially, you mimic/expand on the [t: feature ... what about if you only want to show the tool tip to the GM? ie [t,gt: ??
What would have to change to do that?
Yeah, I do this in my framework. You basically have 2 different outputs. This is one reason why it's good to put output in to a variable. The tricky part is determining who the GM is from a player's perspective.
uh .. wouldn't:
http://lmwcs.com/rptools/wiki/getGMName
work ???

Or even:
http://lmwcs.com/rptools/wiki/getAllPlayerNames
+
http://lmwcs.com/rptools/wiki/isGM
?? Not sure I see the difficulty in that .. but I suppose I will when I try, right? :lol:
Nope, nope and nope. Wiki: getGMName() is the field on a token reserved only for GMs (basically hidden from players but visible as a part of the token name). Wiki: getAllPlayerNames() will get all the player names, but Wiki: isGM() only tells you if the client player (person running the macro) is a GM.

User avatar
lmarkus001
Great Wyrm
Posts: 1867
Joined: Sat Mar 29, 2008 12:30 am
Location: Layfayette Hill, PA

Re: Tooltip problem

Post by lmarkus001 »

Moving forward, Touchpad devices do not have a hover event (mouseOver) so tool tips need to be click activated. Just a design issue for the future.

Post Reply

Return to “Drop-In Macro Resources”