Difference between revisions of "Barebones function 240"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
 
Line 2: Line 2:
 
''Function 240:'' <span style='font-size:12px;font-family:courier'><span style='color:blue'>240:</span></span>
 
''Function 240:'' <span style='font-size:12px;font-family:courier'><span style='color:blue'>240:</span></span>
  
* ''Function 240'' Used to properly close scrolling text messages.
+
* ''Function 240'' = Used to properly close scrolling text messages.
  
 
==Properly closes scrolling text messages==
 
==Properly closes scrolling text messages==
 
Since when using scrolling text messages they are considered a window message leaving them open can sometimes cause issues. Call function 240 after using a scrolling text message to make sure it closes properly.
 
Since when using scrolling text messages they are considered a window message leaving them open can sometimes cause issues. Call function 240 after using a scrolling text message to make sure it closes properly.
  
[[Barebones function 240]] Function 240 is used to properly close scrolling text messages.
+
[[Barebones function 240]] = Function 240 is used to properly close scrolling text messages.
  
 
==Use==
 
==Use==

Latest revision as of 07:55, 19 April 2013

Barebones function 240

Function 240: 240:

  • Function 240 = Used to properly close scrolling text messages.

Properly closes scrolling text messages

Since when using scrolling text messages they are considered a window message leaving them open can sometimes cause issues. Call function 240 after using a scrolling text message to make sure it closes properly.

Barebones function 240 = Function 240 is used to properly close scrolling text messages.

Use

Function 240 is used to properly close scrolling text messages.

How the function appears in the script


240:     sync  //Waits 1 frame.
         sync  //Waits 1 frame.
         sync  //Waits 1 frame.
         jmpi_= R73, 00000000, 240 //If register 73 equals 00000000 jump to function 240.
         winend  //Closes the scroll text message.
         clear R73 //Makes R73 equal 00000000.
         ret 

Also see

sync, jmpi_=, winend, clear, ret