Difference between revisions of "016A"

From GTAMods Wiki
Jump to navigation Jump to search
Line 9: Line 9:
 
'''Parameter'''
 
'''Parameter'''
 
: [''int1'']
 
: [''int1'']
:: 0 = fade out, 1 = fade in
+
:: 0 = fade in, 1 = fade out
 
: [''int2'']
 
: [''int2'']
 
:: Duration in milliseconds
 
:: 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.
+
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. As the screen fades in, game sounds will fade out, and vice versa. Use opcode [[043C]] to prevent game sounds from being affected. The game is unable to be paused as the screen fades.
 
}}</onlyinclude>
 
}}</onlyinclude>
  
 
[[Category:OpCodes]]
 
[[Category:OpCodes]]

Revision as of 11:16, 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 in, 1 = fade out
[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. As the screen fades in, game sounds will fade out, and vice versa. Use opcode 043C to prevent game sounds from being affected. The game is unable to be paused as the screen fades.