Difference between revisions of "Color change"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
(Created page with "==Syntax== ''Syntax:'' <span style='font-size:12px;font-family:courier'><span style='color:red'>color_change </span>T_DWORD1, T_DWORD2, T_DWORD3, T_DWORD4, T_DWORD5</span> *...")
 
(Example)
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
 
==Example==
 
==Example==
 
  <span style='font-size:12px;font-family:courier'>
 
  <span style='font-size:12px;font-family:courier'>
  <span style='color:blue'>100:    </span><span style='color:red'>color_change </span>00000000, 00000000, 00000000, 0000000, 00000078,</span> ///Turns the screen black in 120 frames (4 seconds)
+
  <span style='color:blue'>100:    </span><span style='color:red'>color_change </span>00000000, 00000000, 00000000, 000000FF, 00000078,</span> ///Turns the screen black in 120 frames (4 seconds)
 
  <span style='color:green'>        ret </span>
 
  <span style='color:green'>        ret </span>
  
 
==Also see==
 
==Also see==
 
[[ret]]
 
[[ret]]

Latest revision as of 17:39, 14 February 2021

Syntax

Syntax: color_change T_DWORD1, T_DWORD2, T_DWORD3, T_DWORD4, T_DWORD5

  • T_DWORD1 = Red Color 0-255
  • T_DWORD2 = Green Color 0-255
  • T_DWORD3 = Blue Color 0-255
  • T_DWORD4 = Contrast 0-255
  • T_DWORD5 = Frames for color change to take effect

Use

Used to do a color change, you can use this in a floor handler if you want the color change to take place when you go to a specific floor.

Example


100:     color_change 00000000, 00000000, 00000000, 000000FF, 00000078, ///Turns the screen black in 120 frames (4 seconds)
         ret 

Also see

ret