Set qt exit

From Unofficial QEdit Wiki Guide
Revision as of 07:13, 23 May 2014 by Tofuman (Talk | contribs)

Jump to: navigation, search

Syntax

Syntax: set_qt_exit Function

  • Function = Function to jump to when the quest is exited

Use

Used to determine what else happens when exiting the quest.

Example


0:     set_episode 00000000 //Episode set to 1.
       set_qt_cancel 3 //Jumps to function 3 after you confirm you want to cancel the quest with the Guild Lady.
       ret 
3:     window_msg 'You have exited the quest.' //Display a window message showing a line from everyone's favourite hit song.
       add_msg 'So I doubt you'll see this.' //And another line, because why not?
       winend  //Closes the window message.
       ret 

Also see

window_msg, add_msg, winend, ret,