Thunderwave script interacting with map tokens? I've been trying out the Thunderwave script ( link , using ScriptCards). It seems to run fine (great work!), except when the map layer includes (background) tokens (e.g. roads, trees) in the area of effect, at which point it (looks like it) tries to get the map tokens to save, and crashes the Sandbox. Thunderwave Save DC 13 ♦ Slot Level: 2 Level 2 Spell Slots Left: <span class="userscript-userscript-showtip userscript-tipsy" title="Roll: 1 - 1 Result: 1 - 1 " style="min-width: 1.75em ; font-family: "undefined" ; display: inline-block ; font-weight: bold ; height: 1em ; margin-top: -1px ; margin-bottom: 1px ; padding: 0px 2px ; border: 1px solid rgb( 135 , 133 , 10 ) ; border-radius: 3px ; background-color: rgb( 255 , 254 , 162 )">0 Damage Roll: <span class="userscript-userscript-showtip userscript-tipsy" title="Roll: 3d8 Result: 3d8 (3,7,2) " style="min-width: 1.75em ; font-family: "undefined" ; display: inline-block ; font-weight: bold ; height: 1em ; margin-top: -1px ; margin-bottom: 1px ; padding: 0px 2px ; border: 1px solid rgb( 135 , 133 , 10 ) ; border-radius: 3px ; background-color: rgb( 255 , 254 , 162 )">12 : Save <span class="userscript-userscript-showtip userscript-tipsy" title="Roll: 1d20 + Result: 1d20 (6) + " style="min-width: 1.75em ; font-family: "undefined" ; text-align: center ; display: inline-block ; font-weight: bold ; height: 1em ; margin-top: -1px ; margin-bottom: 1px ; padding: 0px 2px ; border: 1px solid rgb( 135 , 133 , 10 ) ; border-radius: 3px ; background-color: rgb( 255 , 254 , 162 )">6 <span class="userscript-userscript-showtip userscript-tipsy" title="Roll: 3d8 Result: 3d8 (3,7,2) " style="min-width: 1.75em ; font-family: "undefined" ; text-align: center ; display: inline-block ; font-weight: bold ; height: 1em ; margin-top: -1px ; margin-bottom: 1px ; padding: 0px 2px ; border: 1px solid rgb( 135 , 133 , 10 ) ; border-radius: 3px ; background-color: rgb( 255 , 254 , 162 )">12 thunder Goblin: Save <span class="userscript-userscript-showtip userscript-tipsy" title="Roll: 1d20 + 0 Result: 1d20 (7) + 0 " style="min-width: 1.75em ; font-family: "undefined" ; text-align: center ; display: inline-block ; font-weight: bold ; height: 1em ; margin-top: -1px ; margin-bottom: 1px ; padding: 0px 2px ; border: 1px solid rgb( 135 , 133 , 10 ) ; border-radius: 3px ; background-color: rgb( 255 , 254 , 162 )">7 12 thunder Goblin: Save <span class="userscript-userscript-showtip userscript-tipsy" title="Roll: 1d20 + 0 Result: 1d20 (16) + 0 " style="min-width: 1.75em ; font-family: "undefined" ; text-align: center ; display: inline-block ; font-weight: bold ; height: 1em ; margin-top: -1px ; margin-bottom: 1px ; padding: 0px 2px ; border: 1px solid rgb( 135 , 133 , 10 ) ; border-radius: 3px ; background-color: rgb( 255 , 254 , 162 )">16 <span class="userscript-userscript-showtip userscript-tipsy" title="Roll: 12 \ 2 Result: 12 \ 2 " style="min-width: 1.75em ; font-family: "undefined" ; text-align: center ; display: inline-block ; font-weight: bold ; height: 1em ; margin-top: -1px ; margin-bottom: 1px ; padding: 0px 2px ; border: 1px solid rgb( 135 , 133 , 10 ) ; border-radius: 3px ; background-color: rgb( 255 , 254 , 162 )">6 thunder Do I need to explicitly restrict the array to the token layer? --/|Get all of the tokens on the page so we can cache their positions
--~|array;pagetokens;alltokens;@{selected|token_id} ... or should I be handling my map layer scenery differently? Any suggestions? Thanks, Bill