Difference between revisions of "016A"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{OpCode | ini = 016a=2,fade %2d% time %1d% | description = Fades the screen in or out. | p1 = 1 = fade in, 0 = fade out | p2 = time in ms | game …')
 
Line 1: Line 1:
{{OpCode
+
{{Icon|trilogy}} '''DO_FADE'''
| ini        = 016a=2,fade %2d% time %1d%
+
<hr />
| description = Fades the screen in or out.
+
<onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode|
| p1          = 1 = fade in, 0 = fade out
+
'''Description'''
| p2          = time in ms
+
: Fades the screen
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
'''Syntax'''
}}
+
: 016A: fade [''int1''] [''int2''] ms
 +
: fade [''int1''] [''int2'']
 +
'''Parameter'''
 +
: [''int1'']
 +
:: 0 = fade out, 1 = fade in
 +
: [''int2'']
 +
:: Duration in milliseconds
  
This opcode fades the screen either in or out for the specified time.  
+
This opcode allows the screen to fade in and fade back out. The color of the fade can be set through opcode [[0169]]. The longer the time set to fade, the slower the screen will fade.
 +
}}</onlyinclude>
  
== Sanny Builder example ==
+
[[Category:OpCodes]]
 
 
<source lang="scm">016A: fade 0 time 0</source>
 
 
 
==Keywords==
 
fade
 
 
 
{{N|SA|VC}}
 
[[Category:GTA_3]]
 

Revision as of 11:00, 26 January 2012

GTA III Vice City San Andreas DO_FADE


Description

Fades the screen

Syntax

016A: fade [int1] [int2] ms
fade [int1] [int2]

Parameter

[int1]
0 = fade out, 1 = fade in
[int2]
Duration in milliseconds

This opcode allows the screen to fade in and fade back out. The color of the fade can be set through opcode 0169. The longer the time set to fade, the slower the screen will fade.