Code: Select all
<INIT>
...gets {INIT} on Initiative Roll.
Moderators: dorpond, trevor, Azhrei
Code: Select all
<INIT>
...gets {INIT} on Initiative Roll.
Code: Select all
<!--
[diceroll=1d20]
[token.init=diceroll + InitBonus]
-->
{token.name} rolls initiative: {diceroll} + {InitBonus} = <b>{token.init}</b>
Thanks! That worked perfectly!AidyBaby wrote:How about:
Code: Select all
<!-- [diceroll=1d20] [token.init=diceroll + InitBonus] --> {token.name} rolls initiative: {diceroll} + {InitBonus} = <b>{token.init}</b>
Really?AidyBaby wrote:How about:
I use it by selecting all my tokens and running it from global.Code: Select all
<diceroll> {token.name} rolls initiative: {diceroll} + {InitBonus} = <b>{token.init}</b>
I'm just guessing, but I assume he originally meant "I use it by selecting all my tokens and right clicking on the global button and choosing Run For Each Selected" (or whatever that context menu choice is).dorpond wrote: Really?
I just tried adding the macro to global and then selecting my tokens but it doesn't work - it prompts me for values instead of just executing like it does if I create the same macro in the Selected Macro Window. Interesting... Something broken perhaps?
Heh, man, MT is growing so fast that I didn't even know that right click option was available. Man.. We so need to make stuff more obvious.Lindharin wrote:I'm just guessing, but I assume he originally meant "I use it by selecting all my tokens and right clicking on the global button and choosing Run For Each Selected" (or whatever that context menu choice is).dorpond wrote: Really?
I just tried adding the macro to global and then selecting my tokens but it doesn't work - it prompts me for values instead of just executing like it does if I create the same macro in the Selected Macro Window. Interesting... Something broken perhaps?
I'm submitting a patch (in about 2 minutes) that will let you configure a global or campaign button to always run against the selected tokens so that you can just click on it normally instead of using the right-click option.
Heh, man, MT is growing so fast that I didn't even know that right click option was available. Man.. We so need to make stuff more obvious.Lindharin wrote:I'm just guessing, but I assume he originally meant "I use it by selecting all my tokens and right clicking on the global button and choosing Run For Each Selected" (or whatever that context menu choice is).dorpond wrote: Really?
I just tried adding the macro to global and then selecting my tokens but it doesn't work - it prompts me for values instead of just executing like it does if I create the same macro in the Selected Macro Window. Interesting... Something broken perhaps?
I'm submitting a patch (in about 2 minutes) that will let you configure a global or campaign button to always run against the selected tokens so that you can just click on it normally instead of using the right-click option.
I was wondering that too. I couldn't think of a case where if you have a token selected you wouldn't want to run a macro for the token. I'm sure someone out there can educate me though.dorpond wrote:Now that I think about it, why do we even have a right click -> Run Macro for Each Selected? Shouldn't that just be assumed? I mean, if I have 3 tokens selected and click on a macro button, I would expect it to run for each - wouldn't I?
Having a right menu option just seems overcomplicated and makes the feature less obvious to new users.
Well, I think it partly comes down to who appears to do the talking in the chat window.dorpond wrote:Now that I think about it, why do we even have a right click -> Run Macro for Each Selected? Shouldn't that just be assumed? I mean, if I have 3 tokens selected and click on a macro button, I would expect it to run for each - wouldn't I?
Having a right menu option just seems overcomplicated and makes the feature less obvious to new users.
This would be perfect.Lindharin wrote:If you click a global/campaign button while tokens are selected, run it once per token using the token's properties but still have the actual user shown as the originator in the chat window. Then have a checkbox in the button editor that says "Impersonate selected tokens" so that the chat results look like they came from each token directly.