#Roll NPC Init

1 messages · Page 1 of 1 (latest)

hard wagon
#

this definitely adds all selected to the tracker and rolls for all non-player assigned actors

for ( let token of canvas.tokens.controlled) {      
    if (!token?.combatant) await token.toggleCombat()
  }
game.combat.rollNPC({messageOptions: {rollMode: 'gmroll'}})
deep flame
#

Very odd - it doesn't for me. When I ran the code with only npcs selected and no pcs in the tracker it works otherwise it just adds them to the tracker

hard wagon
#

uno momento -- demo video incoming

#

Roll NPC Init

deep flame
#

ah ok i'll do a find the culprit after the session and see if it fixes it

#

because that doesn't

#

for me for some reason

hard wagon
#

try just with all disabled first, as a sanity check (when you can)

deep flame
#

I disabled all modules and it's inconsistent

#

on some maps it does work correctly

#

on others it doesn't