Difference between revisions of "ColorUnit"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "= ColorUnit = Colors a unit gradually depending on its current state. So (+127,-128,-128) is red and (+127,+127,+127) is white. See Also: Event_Instruction_2E|{2E}Backgro...")
 
Line 1: Line 1:
= ColorUnit =
+
= [[Event_Instruction_32|{32} {{IE_32}}]] =
 
Colors a unit gradually depending on its current state.
 
Colors a unit gradually depending on its current state.
  
Line 5: Line 5:
  
  
See Also: [[Event_Instruction_2E|{2E}Background]] [[Event_Instruction_31|{31}ColorBGBeta]] [[Event_Instruction_33|{33}ColorField]]  
+
See Also: [[Event_Instruction_2E|{2E} {{IE_2E}}]] [[Event_Instruction_31|{31} {{IE_31}}]] [[Event_Instruction_33|{33} {{IE_33}}]]  
  
  
== Unit ID. : Byte (hex) ==
+
{{UnitID}}
ID of the unit specified in the ENTD.
 
  
  

Revision as of 00:25, 31 December 2013

{32} ColorUnit

Colors a unit gradually depending on its current state.

So (+127,-128,-128) is red and (+127,+127,+127) is white.


See Also: {2E} Background{31} ColorBGBeta{33} ColorField


Unit ID : Byte (hex)

ID of the unit specified in the ENTD.


Affect all but Unit ID? : Byte (hex)

Reverse targets and affect every unit on the field except the unit specified in the Unit ID byte.


Preset Color : Byte (hex)

Instead of setting RGB values, you can pick any of the preset colors:

  • x01 : Covered in shadows
  • x02 : Petrified/Grayscale
  • x04 : Original palette?
  • x08 : Original palette?
  • x10 : Completely Green
  • x20 : Completely Green
  • x40 : Completely Green
  • x80 : Completely Green


Red : Byte (signed)

Red value of the RGB color.


Green : Byte (signed)

Green value of the RGB color.


Blue : Byte (signed)

Blue value of the RGB color.


Time : Byte (unsigned)

Time required to perform the whole instruction in tenths of second.

  • 050 = 5,0 seconds
  • 100 = 10,0 seconds
  • 255 = 25,5 seconds