Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

SpawnDefautToken Expand Behavior with Nameplates

1704940074

Edited 1704940594
Hi All, I recently just made a macro for Animate Dead, which you can find here . While creating the macro I noticed some strange behavior when using the expand parameter when it came to nameplates. No matter the number of tokens summoned the nameplates are covering the token instead of being under them. I think what is happening is that the nameplates are being created before the animation is complete and so it's creating the nameplate when the token is smaller. I'm thinking it's probably a Roll20 thing and we probably can't do anything about it. However, you never know if someone has come up with a solution, like another parameter that somehow changes the behavior? Thanks EDIT: The obvious workaround is turning off nameplates, obviously I don't need nameplates on every summoned npc.
1704946611

Edited 1704946722
Gauss
Forum Champion
What happens when you move the token to a new location and then back? Does the nameplate move to the correct location?
1704971226

Edited 1704971373
David M.
Pro
API Scripter
Timothy, your assumption is correct. The script creates a 0 sized token initially (nameplate is generated), then the size of the token is increased on a timer until reaching the final size. The only solution I can think of would be a script change that checks for the existence of a namplate, removes it prior to initial spawn, then adds it back after expansion.  EDIT: Gauss, yes the nameplates should snap back into place when next moved.