Closed brunocalado closed 4 years ago
You can make macros and use them in the journal. Just drag your macro into the journal and you can use it on click.
Step 1.
Make your macro using type chat
settings.
Step 2. Drag the macro into the journal.
Step 3. Save and you should have a clickable macro.
There is a problem with this.
Imagine a campaign. Will you create dozens of macros?
If you could just add the text in the journal it will be much easier.
You could have a macro that do the trick, one macro for all texts in journal. You select the text and it turns into a clickable.
I will look into it when I have some time so its part of the project
Added on latest release macros for chat. Please let me know what you think.
This feature doesn't seem to be working:
event.srcElement.closest is not a function
at Macro.eval (eval at callScriptMacroFunction (Macros.js:176), <anonymous>:10:35)
at Macro.callScriptMacroFunction [as callScriptFunction] (Macros.js:179)
at Macro.renderMacro [as renderContent] (Macros.js:197)
at Macro.executeMacro (Macros.js:221)
at HTMLAnchorElement._onClickEntityLink (foundry.js:14429) "Macro Narrate: failed to catch narration."
journal content is:
@Compendium[narrator-tools.narrator-macros.I3ztJttPpvtN96iL]{Describe} This is a test description
@Compendium[narrator-tools.narrator-macros.qSMtVloC2rqjrfkL]{Narrate} This is a test narration
Figured it out - have to import the macro, so it's a reference to the macro, not the compendium.
Hi.
Can you make the commands work from the journal?