Difference between revisions of "Set qt failure"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
 
Line 10: Line 10:
 
  <span style='font-size:12px;font-family:courier'>
 
  <span style='font-size:12px;font-family:courier'>
 
  <span style='color:blue'>0:    </span><span style='color:red'>set_episode </span>00000000 <span style='color:orange'>//Episode set to 1.</span>
 
  <span style='color:blue'>0:    </span><span style='color:red'>set_episode </span>00000000 <span style='color:orange'>//Episode set to 1.</span>
  <span style='color:green'>      set_qt_failure </span>2 <span style='color:orange'>//Will make the guild lady jump to function 3 when r253 = 1.</span>
+
  <span style='color:green'>      set_qt_failure </span>2 <span style='color:orange'>//Will make the guild lady jump to function 3 when r253 = 1. When you talk to her.</span>
 
  <span style='color:green'>      ret </span>
 
  <span style='color:green'>      ret </span>
 
  <span style='color:blue'>3:    </span><span style='color:green'>window_msg </span>Oh no looks like you<cr>failed the quest. <span style='color:orange'>//Display a window message.</span>
 
  <span style='color:blue'>3:    </span><span style='color:green'>window_msg </span>Oh no looks like you<cr>failed the quest. <span style='color:orange'>//Display a window message.</span>

Revision as of 00:52, 16 February 2013

Syntax

Syntax: set_qt_failure Function

  • Function = Function to jump to for when you talk to the guild lady when R253 has been set to true.

Use

Used to tell the guild lady what to say / do when r253 = 1.

Example


0:     set_episode 00000000 //Episode set to 1.
       set_qt_failure 2 //Will make the guild lady jump to function 3 when r253 = 1. When you talk to her.
       ret 
3:     window_msg Oh no looks like you<cr>failed the quest. //Display a window message.
       winend  //Closes the window message.
       ret 

Also see

window_msg, winend, ret, Reservedregisters