maptool
maptool copied to clipboard
[Bug]: Impersonate() function via macroLink is delayed.
Describe the Bug
Switching impersonation using impersonate()
function via macro link is delayed.
To Reproduce
- Drop two tokens ("Elf" and "Dragon") from MapTool resouces on a map.
- Configure both tokens: "token type" is "PC"; "Visible to players" is available.
- Write two macros: impersonating as "Dragon" and say "Hello", and creating frame that call that macro.
- Impersonate as "Elf".
- Click the macro link.
- Impersonated as "Dragon" in chat entering fields, but output message isn't impersonated.
macro: ImpersonateAndHellolFrame
[frame("test-impersonate-and-roll"):{
[r: macroLink("Impersonate and Hello via macroLink", "ImpersonateAndHello@this", "all")]<br>
[h: linkText = macroLinkText("ImpersonateAndHello@this", "all")]
<a href="[r: linkText]">Impersonate and Hello via macroLinkText</a><br>
<form action="[r: linkText]">
<input type="submit" value="Impersonate and Hello vim Form">
</form>
}]
macro: ImpersonateAndHello
[h: impersonate(findToken("Dragon"))]
Hello!
ImpersonationDelayed.cmpgn.zip
Expected Behaviour
Switch impersonation before saying previous impersonated PC.
Screenshots
Initial: Impersonation as "Elf".
After running macro: Impersonation in chat entering field changed to "Dragon". But output message is said by "Elf".
MapTool Info
Version: 1.11.4
Desktop
Windows 10
Additional Context
No response