RPTools.net

Discussion and Support

Skip to content

It is currently Fri Nov 24, 2017 1:33 pm 






Reply to topic  [ 4 posts ] 

Previous topic | Next topic 

  Print view

Author Message
User avatar  Offline
Cave Troll
 
Joined: Sun Mar 22, 2015 2:57 pm
Posts: 42
 Post subject: Question about roll options
PostPosted: Tue Nov 07, 2017 7:54 pm 
I'm a bit confused about how to achieve something with one of my macros.

I've got a basic damage macro that calls on a token's HP property, applies the damage, calculates the new HP value, assigns basic status States (e.g., unconscious, dying, dead, etc), then writes the new HP value to the HP property. All that works great.

At the end of the macro I generate a variable called "output" using the concatenate function that generates a text string that says "Has <currentHP> of <maxHP> remaining." That also works - the variable generates exactly what I want it to generate.

I'd like this to be output to the Chat window, but kept to just the GM. I'm using the [g:] rolling option, but I cannot figure out how to publish this without the tooltip. I get <<output = "yadda yadda">>.

If I remove the g: tag and change to curly brackets, I get what I want - just the value of "output" not the calculations that get me there. But I assume that's being broadcast. If I try to use curly brackets with the g: tag, then I get an error (unexpected character, or something like that).

How can I get a simple, clean output of a variable's value just to the GM?


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7954
Location: Bay Area
 Post subject: Re: Question about roll options
PostPosted: Tue Nov 07, 2017 8:37 pm 
Try [g,r: ]

_________________
Downloads:


Top
 Profile  
 
User avatar  Offline
Cave Troll
 
Joined: Sun Mar 22, 2015 2:57 pm
Posts: 42
 Post subject: Re: Question about roll options
PostPosted: Tue Nov 07, 2017 10:07 pm 
That did it. Thanks!


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9421
Location: Netherlands
 Post subject: Re: Question about roll options
PostPosted: Wed Nov 08, 2017 3:12 am 
there's a red marked link in my sig. Read it!

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 4 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 1 guest





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman