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 Select the mode of the button
* Hotbar - Execute macros from the hotbar * Hotbar - Execute macros from the hotbar
* Visible Hotbar - Execute macros from the macros that are currently visible in 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 * Macro Board - Execute a macro as set in the 'Macro Configuration' in the module settings
## Mode: Hotbar/Visible Hotbar/Custom Hotbar ## 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 #### Macro Name
The name of the macro. It needs to be identical to the name in Foundry and is case sensitive. The name of the macro. It needs to be identical to the name in Foundry and is case sensitive.
### Furnace Arguments ### Macro Arguments
This function is for if you have [the Furnace](https://foundryvtt.com/packages/furnace/) installed.<br> This function allows you to add arguments to the macro.<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> 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.
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"`. 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 ## Display Name
Toggles whether or not the button should display the macro's name. Toggles whether or not the button should display the macro's name.