Difference between revisions of "Set qt success"

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_success </span>2 <span style='color:orange'>//Will make the guild lady jump to function 2 when r255 = 1.</span>
+
  <span style='color:green'>      set_qt_success </span>2 <span style='color:orange'>//Will make the guild lady jump to function 2 when r255 = 1. When you talk to her.</span>
 
  <span style='color:green'>      ret </span>
 
  <span style='color:green'>      ret </span>
 
  <span style='color:blue'>2:    </span><span style='color:green'>window_msg </span>Recived 500 meseta. <span style='color:orange'>//Display a window message.</span>
 
  <span style='color:blue'>2:    </span><span style='color:green'>window_msg </span>Recived 500 meseta. <span style='color:orange'>//Display a window message.</span>

Revision as of 00:53, 16 February 2013

Syntax

Syntax: set_qt_success Function

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

Use

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

Example


0:     set_episode 00000000 //Episode set to 1.
       set_qt_success 2 //Will make the guild lady jump to function 2 when r255 = 1. When you talk to her.
       ret 
2:     window_msg Recived 500 meseta. //Display a window message.
       winend  //Closes the window message.
       pl_add_meseta2 000001F4 //Adds 500 meseta to the players inventory.
       ret 

Also see

window_msg, winend, pl_add_meseta2, ret, Reservedregisters