What is the updated code to skip dialog?

wahmpire

  • Posts: 81
this used to work : for(dialogBox in Dialog.dialogBoxes) {    dialogBox.endMessage(); }

But now results in error:
Events for 'skip': Unknown identifier : Dialog
   from scripts.ActorEvents_811
   line: 93
   columns: 21-27
Events for 'skip': You can't iterate on a Dynamic value, please specify Iterator or Iterable
   from scripts.ActorEvents_811
   line: 93
   columns: 21-39

Justin

  • *
  • Posts: 4530
Code: [Select]
for(dialogBox in dialog.core.Dialog.dialogBoxes) {dialogBox.endMessage();}
That should work.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

wahmpire

  • Posts: 81
It does,  thanks so much!