Difference between revisions of "0166"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 6: Line 6:
 
: 0166: set_marker [''blip handle''] brightness_to [''int'']
 
: 0166: set_marker [''blip handle''] brightness_to [''int'']
 
'''Parameter'''
 
'''Parameter'''
 +
: [''blip handle'']
 +
:: The handle of the blip
 
: [''int'']
 
: [''int'']
 
:: {{hint|0|or any value other than 1}} = normal, 1 = dim
 
:: {{hint|0|or any value other than 1}} = normal, 1 = dim
Line 11: 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).
+
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 ==
 
== Keywords ==

Revision as of 03:44, 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

[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