Hi there, I
hope someone can help me here.
I just
started working with more complex macros and the one for initiative I used thus
far goes like this:
/em The
@{selected|character_name} reacts to your presence
/w gm
@{selected|token_name} rolls [[1d20+@{selected|ini} &{tracker}]] for
initiative.
for closed
rolls I skip the /em and don't open the turn tracker
Now a neat
way I use attacking macros is this:
/em The
Githyanki Corsair deftly stabs his silver longsword at you
Target :
@{target|Target1|character_name}
Attack
[[1d20+16]] vs AC [[@{target|Target1|AC}]]
Damage
[[2d8+4]] + [[1d6]] psychic damage
What I find
neat about it: It shows the relevant AC (or Ref, or what ever) for the target
I'm attacking, without me having to always ask (Does a 23 on AC hit?) It can
even work with area attacks and multiple targets, totally cool.
Now I had
thought I could combine the two, that would be really awesome, but I can't make
it work.
What I came
up with was:
/w gm
@{target|Target1|token_name} rolls [[1d20+@{target|Target1|ini}
&{tracker}]] for initiative.
It works
fine for rolling, but cannot send the value to the turn tracker [message: You
wanted to send the result of this roll to the turn tracker, but no valid token
was selected!]
(note: if I
select the token and then use the macro it works, but I wanted to skip the
selecting part. And if I wouldn't mind selecting each token I wanted to add I'd
be using a different macro:
/em The
@{selected|character_name} reacts to your presence
/w gm
@{selected|token_name} rolls [[1d20+@{selected|ini} &{tracker}]] for
initiative.
My plan was
to have a macro where I could simply click on the macro, and then click on4-7 (or whatever) targets and their values
for initiative would all be automatically rolled and send to the turn tracker.
The rolling
works fine, but the turn tracker seemingly only gets the value of selected
tokens.
So to my
actual question:
Does
anybody either know a way around that, or already has a macro where that works?