Difference between revisions of "0166"

From GTAMods Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{Icon|trilogy}} '''DIM_BLIP'''
+
{{Icon|3}} {{Icon|VC}} '''DIM_BLIP'''
 
<hr />
 
<hr />
 
'''Description'''
 
'''Description'''
Line 16: Line 16:
  
 
== Keywords ==
 
== Keywords ==
blip, marker, dim, bright
+
blip, marker, dim, bright, brightness
  
 
[[Category:OpCodes]]
 
[[Category:OpCodes]]

Revision as of 03:45, 6 January 2015

GTA III Vice City DIM_BLIP


Description

Dims the specified blip

Syntax

0166: set_marker [blip handle] brightness_to [int]

Parameter

[blip handle]
The handle of the blip
[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). It has no effect on blips that use sprites.

Keywords

blip, marker, dim, bright, brightness