Updated Token Action (markdown)

Material Foundry
2023-05-24 16:08:22 +02:00
parent 30b248a2cf
commit 6126a71bcb

@@ -107,8 +107,7 @@ And use multiple stats:
<h3>On Click</h3> <h3>On Click</h3>
Using 'On Click', you can perform something by pressing the button.<br> Using 'On Click', you can perform something by pressing the button.<br>
'Custom', 'Set Vision & Light', 'Set Token Wildcard Image', 'Handle Condition', 'Toggle CUB Condition' and 'Dice Roll' are described in more detail below.<br> Most should be self-explanatory, but some are described below.
'Call Macro' is configured similar to the <a href="https://github.com/CDeenen/MaterialDeck/wiki/Macro-Action">Macro Action</a>, the others should be self-explanatory.
<h4>Custom On Click</h4> <h4>Custom On Click</h4>
<b>Please note that this function is quite powerful, but can seriously mess up tokens and actors if you're not careful with the targets. Please make sure you fill in the correct path and create a test character to test it out on first!</b><br> <b>Please note that this function is quite powerful, but can seriously mess up tokens and actors if you're not careful with the targets. Please make sure you fill in the correct path and create a test character to test it out on first!</b><br>
@@ -174,6 +173,9 @@ You can set multiple formulas or multiple macros to the same button by separatin
Or increment the HP by 1 and call the macro 'moveToken':<br> Or increment the HP by 1 and call the macro 'moveToken':<br>
`[@actor.data.data.attributes.hp.value] = [@this] ++ ; @macro moveToken 1 0` `[@actor.data.data.attributes.hp.value] = [@this] ++ ; @macro moveToken 1 0`
<h4>Mode Token</h4>
Select a direction for the token to move to. The token will move 1 grid space in that direction when the button is pressed.
<h4>Set Vision & Light</h4> <h4>Set Vision & Light</h4>
If 'Set Vision' was selected at 'On Click', a lot of vision settings appear. They behave identical to the settings in the Vision tab the Token Configuration screen in Foundry.<br> If 'Set Vision' was selected at 'On Click', a lot of vision settings appear. They behave identical to the settings in the Vision tab the Token Configuration screen in Foundry.<br>