Updated Macro Action (markdown)

Material Foundry
2021-04-14 08:16:39 +02:00
parent 561dd8af7a
commit 8efe1d7e5c

@@ -42,16 +42,6 @@ These functions are compatible with the [Token Hotbar module](https://foundryvtt
#### Macro Number
The macro to execute. In 'hotbar' mode, this is a value between 1 and 50. In 'visible hotbar' this is a value between 1 and 10. 10 corresponds with the macro at location 0 in the Foundry hotbar.
#### Display Name
Toggles whether or not the button should display the macro's name.
#### Display Icon
Toggles whether or not the button should display the macro's icon.
#### Display Uses
Requires [Illandril's Hotbar Uses](https://foundryvtt.com/packages/illandril-hotbar-uses/) to be installed, it does not need to be active.<br>
Allows you to display item uses, spell slots, or item count.
#### Background
Sets the background color of the button. The icon needs to have transparent parts (so no jpeg).
@@ -63,12 +53,6 @@ Trigger a macro from the macro board, as set in the Macro Configuration screen (
#### Macro Number
The macro to execute. The number corresponds with the macro number in the Macro Configuration.
#### Display Name
Toggles whether or not the button should display the token's name.
#### Display Icon
Toggles whether or not the button should display the macro's icon.
#### Background
Sets the background color of the button. The icon needs to have transparent parts (so no jpeg).
@@ -86,3 +70,24 @@ Sets the color of the ring that's shown on the button when the offset is set to
#### Background
Sets the background color of the button. The icon needs to have transparent parts (so no jpeg).
## Mode: By Name
This mode allows you to call a macro by its name. If there are multiple macros with identical names, it will pick the first one it finds.
#### 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"`.
## Display Name
Toggles whether or not the button should display the macro's name.
## Display Icon
Toggles whether or not the button should display the macro's icon.
## Display Uses
Requires [Illandril's Hotbar Uses](https://foundryvtt.com/packages/illandril-hotbar-uses/) to be installed, it does not need to be active.<br>
Allows you to display item uses, spell slots, or item count if the macro is a item or spell macro.