Updated Macro Action (markdown)

Material Foundry
2023-05-26 02:02:53 +02:00
parent a7ad281686
commit 9b59f4e594

@@ -30,6 +30,7 @@ Clicking the colored box you'll be presented with a color picker. Selecting a co
Select the mode of the button
* Hotbar - Execute macros from the hotbar
* Visible Hotbar - Execute macros from the macros that are currently visible in the hotbar
* Custom Hotbar - Execute macros from the [Custom Hotbar module](https://foundryvtt.com/packages/custom-hotbar)
* Macro Board - Execute a macro as set in the 'Macro Configuration' in the module settings
## Mode: Hotbar/Visible Hotbar/Custom Hotbar
@@ -77,10 +78,11 @@ This mode allows you to call a macro by its name. If there are multiple macros w
#### Macro Name
The name of the macro. It needs to be identical to the name in Foundry and is case sensitive.
### Furnace Arguments
This function is for if you have [the Furnace](https://foundryvtt.com/packages/furnace/) installed.<br>
Here you can fill in any arguments that you could use with 'the Furnace' Please read the documentation regarding [advanced macros](https://github.com/kakaroto/fvtt-module-furnace#advanced-macros).<br>
If, for example, you wanted to execute a macro named 'My Macro' with the arguments 'argument1 argument2 argument3', you would use for example `/"My Macro" 100 50 "test"` in the chat. In the Furnace Arguments field you would only fill in the arguments, so: `100 50 "test"`.
### Macro Arguments
This function allows you to add arguments to the macro.<br>
In Foundry v10 you need to have [Advanced Macros](https://github.com/mclemente/fvtt-advanced-macros) installed, in Foundry v11 this has been integrated in the core.
You can fill in any arguments. Please read the documentation regarding arguments in [Advanced Macros](https://github.com/mclemente/fvtt-advanced-macros/tree/old-v1.19) or arguments in the [core]().<br>
If, for example, you wanted to execute a macro named 'My Macro' with the Advanced Macros arguments 'argument1 argument2 argument3', you would use for example `/"My Macro" 100 50 "test"` in the chat. In the Macro Arguments field you would only fill in the arguments, so: `100 50 "test"`. Using the v11 core macro arguments you would use for example `"arg1": 100, "arg2": 50, "arg3": "test"`
## Display Name
Toggles whether or not the button should display the macro's name.