Difference between revisions of "Rgbatrans (call target)"

From Final Fantasy XII Wiki
Jump to navigation Jump to search
(Created page with "{{Call|id=0x03b2|return=void|name=rgbatrans|args=float r, float g, float b, float a, int time|act=true}}Transitions a model bound to a script to RGBA values over <code>time</c...")
 
m
 
Line 1: Line 1:
 
{{Call|id=0x03b2|return=void|name=rgbatrans|args=float r, float g, float b, float a, int time|act=true}}Transitions a model bound to a script to RGBA values over <code>time</code>. '''One unit of time equals 100ms'''.
 
{{Call|id=0x03b2|return=void|name=rgbatrans|args=float r, float g, float b, float a, int time|act=true}}Transitions a model bound to a script to RGBA values over <code>time</code>. '''One unit of time equals 100ms'''.
  
Typical r, g, b and a values are within 0.0-1.0. If color values are above 1.0, they become oversaturated.
+
Typical <code>r</code>, <code>g</code>, <code>b</code> and a values are within <code>0.0-1.0</code>. If color values are above <code>1.0</code>, they become oversaturated. Used mostly to gradually hide models or give them ghostly apparition.

Latest revision as of 20:44, 11 September 2019

Signature:

void rgbatrans(float r, float g, float b, float a, int time); // id: 0x03b2
//or in a context of another script
void scriptName.rgbatrans(float r, float g, float b, float a, int time); // id: 0x03b2

Transitions a model bound to a script to RGBA values over time. One unit of time equals 100ms.

Typical r, g, b and a values are within 0.0-1.0. If color values are above 1.0, they become oversaturated. Used mostly to gradually hide models or give them ghostly apparition.