I have this piece of code in 3 different macros.
Code: Select all
[broadcast("1")]
[h, token(getInitiativeToken()), code: {
[h : tokenInit = getInitiative()]
}]
[broadcast(tokenInit)]
However, in the 3rd macro, I instead get this...
1
Error executing initiative function: there is no impersonated token.
So I'm pretty sure that the error is in that "code" section...but since I've copied it straight to each of the 3 macros, I'm quite confused about the inconsistent behavior.
All 3 macros are called from buttons on the Global panel, with only "Auto Execute" set on them. All 3 macros are on the same library token and again, only "Auto Execute" is checked off on the macros themselves.
Any ideas?