Author Topic: z-dialog chaining  (Read 362 times)

Legacy_meaglyn

  • Hero Member
  • *****
  • Posts: 1451
  • Karma: +0/-0
z-dialog chaining
« on: March 08, 2013, 03:06:39 pm »


                Hi all, 
 
Anyone know how to make z-dialog switch to a new dialog handler?  The comments in the code make it seem like it should be possible.  I suspect there is some trick I have not found yet.  I'm hoping someone else has done this other wise I'll dig deeper.

Thanks for any help. 
               
               

               
            

Legacy_meaglyn

  • Hero Member
  • *****
  • Posts: 1451
  • Karma: +0/-0
z-dialog chaining
« Reply #1 on: March 08, 2013, 05:04:52 pm »


               Nevermind...  this seems to do the trick:

_SendDlgEvent(oPC, DLG_END );
_CleanupDlg(oPC) ;
SetCurrentDlgHandlerScript(sNewDlg);
 _InitializePage(oPC, oNPC);