Difference between revisions of "0166"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{Icon|trilogy}} <hr /> '''Description''' : Dims the specified blip '''Syntax''' : 0166: set_marker [''blip handle''] brightness_to [''int''] '''Parameter''' : [''int''] :: Boole…')
 
Line 1: Line 1:
{{Icon|trilogy}}
+
{{Icon|trilogy}} '''DIM_BLIP'''
 
<hr />
 
<hr />
 
'''Description'''
 
'''Description'''
: Dims the specified blip
+
: Dims the specified [[blip]]
 
'''Syntax'''
 
'''Syntax'''
 
: 0166: set_marker [''blip handle''] brightness_to [''int'']
 
: 0166: set_marker [''blip handle''] brightness_to [''int'']
 
'''Parameter'''
 
'''Parameter'''
 
: [''int'']
 
: [''int'']
:: Boolean (0 = normal, 1 = dim)
+
:: {{hint|0|or any value other than 1}} = normal, 1 = dim
 
'''Native analog'''
 
'''Native analog'''
 
: [[DIM_BLIP]]
 
: [[DIM_BLIP]]

Revision as of 03:41, 6 January 2015

GTA III Vice City San Andreas DIM_BLIP


Description

Dims the specified blip

Syntax

0166: set_marker [blip handle] brightness_to [int]

Parameter

[int]
0 = normal, 1 = dim

Native analog

DIM_BLIP

This opcode dims the brightness of the blip by halving all three RGB color values of the blip. For example, if the blip's color is normally (255,0,255), dimming the blip will produce a blip with color (127,0,127).

Keywords

blip, marker, dim, bright