Color change

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

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