ColorUnit

From Final Fantasy Hacktics Wiki
Revision as of 14:12, 30 December 2013 by Xifanie (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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