Updated Token Actions (markdown)

CDeenen
2020-11-11 20:43:06 +01:00
parent 792f04c5dd
commit 920355202b

@@ -1 +1,29 @@
To be written
The token action gives you some options to display stats of the token that you have selected in Foundry, and can be set up to do some things when you press the button, for example center the view on that token, or open the token's character sheet.
### 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 token's icon
### Stats
You can select a stat to be displayed on the button (under the name, if 'Display Name' is selected).<br>
You can choose between the following stats (currently only dnd5e is supported):
* Hit points
* Armor class
* Movement speed
* Initiative
Each of these have their own default icon (heart for HP, shield for AC, etc) that will be displayed if 'Display Icon' is deselected.
### On Click
Determines what Foundry should do when you press the button:
* Do Nothing - Does nothing
* Center on Token - Centers the view on the selected token
* Open Character Sheet - Opens the token's character sheet
* Open Token Config - Opens the token's configuration screen
### Background
Sets the background color. The icon needs to have transparent parts (so no jpeg).<br>
You set the color using hexadecimal values, and it must start with '#'.<br>
You could use a [color picker](https://htmlcolorcodes.com/color-picker/) to find the right hex value.