Set qt exit

From Unofficial QEdit Wiki Guide
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 when the quest is exited.
       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,