Updated Macro Action (markdown)
@@ -92,9 +92,7 @@ The name of the macro. It needs to be identical to the name in Foundry and is ca
|
|||||||
|
|
||||||
### Macro Arguments
|
### Macro Arguments
|
||||||
This function allows you to add arguments to the macro.<br>
|
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.
|
See [this](https://github.com/CDeenen/MaterialDeck/wiki/Macro-Action#macro-arguments) section on macro arguments for more information.
|
||||||
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user