The GM attempts a single secret Perception check for you
A macro can be created such that it has an entry within the action itself for the PC to click. Without having the user change their chat settings to perform.
Workaround
1) Change chat settings manually. Prone to being forgotten before roll, also left in state for future rolls. Not intuitive.
2) Create roll manually. Does not include modifier breakdown, which is a fantastic added value.
Example from Wiki macro Roll Perception Secretly for Targets. This forces a gmroll, but could also be set to broll or any roll type from https://foundryvtt.com/article/dice/
const actor = token.actor;
const roll = new Roll("1d20 + @attributes.perception.value", actor.getRollData()).roll();
roll.toMessage({flavor: `Privately rolled ${actor.name} Perception:`}, {rollMode: 'gmroll'});
In GitLab by @atnoslen on Aug 5, 2020, 02:05
Has an options field, but does not have the ability to change the roll mode outside of the chat drop down.
Looking within the code where the chat message is created,
check-modifiers-dialog.ts
Similar to #316.
Use case: Consider the Seek Action.
A macro can be created such that it has an entry within the action itself for the PC to click. Without having the user change their chat settings to perform.
Workaround
1) Change chat settings manually. Prone to being forgotten before roll, also left in state for future rolls. Not intuitive. 2) Create roll manually. Does not include modifier breakdown, which is a fantastic added value.
Example from Wiki macro Roll Perception Secretly for Targets. This forces a gmroll, but could also be set to
broll
or any roll type from https://foundryvtt.com/article/dice/Example Action Entry:
From within Character Sheet:
And if action is clicked itself and sent to chat: