Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Hide npc attack description only for players!

Is there any way to hide the description of an attack or ability from a npc?  I mean, I want to show the attack and damage roll but not the consequence if it has a side effect. There is a button where it says Show or Hide .... so far so good, the problem is that if I put Hide I as the GM can't see it in the chat :S..... maybe it is time to implement a new button? Show, Hide, Hide Players? Or perhaps, is there a way to hide it and let the GM see it in the chat? The only thing I can think of is to put it apart as a "trait", although this is a bit ugly and cumbersome. Like this: /w gm &{template:npcaction} {{name=@{selected|npc_name}} {{rname=@{selected|repeating_npctrait_$0_name}}} {{descripción=@{selected|repeating_npctrait_$0_description}}}
Short answer: No I think what you are looking for is changing the NPC character sheet to "Whisper Rolls". The rolls will then only visible for the GM, not the players. You can do this by clicking the gear icon on the upper right corner of the NPC sheet, and scroll down to "GENERAL OPTIONS - Whisper Rolls to GM: Always or Whisper Toggle." The Show/Hide options only affect the content in the description box. It has nothing to do with the public/whispered roll. (if you wish the attack roll and damage to be public, but the description to be secret I would let the character sheet settings be "Never whisper rolls", create a token macro and copy-paste the description into the macro) %{selected|repeating_npcaction_$ 0 _npc_action} /w gm &amp;{template:desc} {{desc=description of attack}} <a href="https://wiki.roll20.net/5e_OGL_Roll_Templates" rel="nofollow">https://wiki.roll20.net/5e_OGL_Roll_Templates</a>
1610896161
Jordan C.
Pro
API Scripter
To expand a little bit on Rasmus' advice, you can add that piece into the description part so that you don't have to create a second macro. Here is a screenshot of how it would look and the text entered into the description box -&nbsp; }} /w gm &amp;{template:desc} {{desc=description of attack
Thx for the help, it must be enough for&nbsp;for what I am looking for.
1610903020
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Huh. All the time I spend here, and I never registered the existence of a show/hide option there...
1610987344

Edited 1610987442
Another option is to use Oosh's Blind Roll for GM Stylus Hack . In the description field, you do something similar to what Jordan C. had, but use this instead: [ DESCRIPTION OF ATTACK&nbsp;CUT AND PASTED HERE ](#" id="GMHiddenDesc" style="display:none") And using Stylus, have a style with this code: #userscript-GMHiddenDesc { &nbsp; &nbsp; display:block!important; text-decoration:none; } This will keep the description in the normal damage block, but it will only be visible for anyone with the Stylus extension code enabled. Without the Stylus script, here is what players see: With the script here is what you see as GM: And if you want, you can add more to the Stylus code so that you know it's only visible to you as the GM: #userscript-GMHiddenDesc { &nbsp; &nbsp; display:block!important; text-decoration:none; color:white; background-color:red; }
keithcurtis said: Huh. All the time I spend here, and I never registered the existence of a show/hide option there... You and me both. Good to know that option exists...
1610995180
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I really like the second part of that trick, Jarren. I'm going to have to decide the best way to use that. I have an NPC slideshow macro that posts public and gm info as separate posts. It would be nicer to have that all in one block.
Jarren K. said: Another option is to use Oosh's Blind Roll for GM Stylus Hack . In the description field, you do something similar to what Jordan C. had, but use this instead: [ DESCRIPTION OF ATTACK&nbsp;CUT AND PASTED HERE ](#" id="GMHiddenDesc" style="display:none") And using Stylus, have a style with this code: #userscript-GMHiddenDesc { &nbsp; &nbsp; display:block!important; text-decoration:none; } This will keep the description in the normal damage block, but it will only be visible for anyone with the Stylus extension code enabled. Without the Stylus script, here is what players see: With the script here is what you see as GM: And if you want, you can add more to the Stylus code so that you know it's only visible to you as the GM: #userscript-GMHiddenDesc { &nbsp; &nbsp; display:block!important; text-decoration:none; color:white; background-color:red; } Very interesting, I will see how it works :P