Difference between revisions of "0166"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
Line 13: Line 13:
 
: [[DIM_BLIP]]
 
: [[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.
+
This opcode dims the brightness of the blip. The resulting color is determined by a [[0165#Blip colors|predefined list]] and the color of the normal blip. It essentially halves 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 sprites.
  
 
== Keywords ==
 
== Keywords ==
blip, marker, dim, bright, brightness
+
set, blip, marker, dim, bright, brightness
  
 
[[Category:OpCodes]]
 
[[Category:OpCodes]]

Latest revision as of 04:18, 29 August 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. The resulting color is determined by a predefined list and the color of the normal blip. It essentially halves 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 sprites.

Keywords

set, blip, marker, dim, bright, brightness