Difference between revisions of "0165"
Jump to navigation
Jump to search
(Created page with "{{Icon|t}} '''CHANGE_BLIP_COLOUR''' <hr /> '''Description''' : Changes the blip color '''Syntax''' : 0165: set_marker [''blip handle''] color_to [''int''] '''Parameter'''...") |
m |
||
Line 11: | Line 11: | ||
:: Color (0 to 6, [[#Blip colors|see below]]) | :: Color (0 to 6, [[#Blip colors|see below]]) | ||
− | This opcode changes the color of the blip. | + | This opcode changes the color of the blip. The color of the blip is determined by a predefined list and whether the blip is [[0166|dim]]. Values outside the available range of colors will produce a black blip. The opcode has no effect on sprites. |
== Blip colors == | == Blip colors == |
Revision as of 07:23, 29 August 2015
Description
- Changes the blip color
Syntax
- 0165: set_marker [blip handle] color_to [int]
Parameter
- [blip handle]
- The handle of the blip
- [int]
- Color (0 to 6, see below)
This opcode changes the color of the blip. The color of the blip is determined by a predefined list and whether the blip is dim. Values outside the available range of colors will produce a black blip. The opcode has no effect on sprites.
Blip colors
The following lists all blip colors available in GTA III and Vice City. The first color is the normal color and the second is the dimmed color.
Color | Enum | Hex |
---|---|---|
0 | RED | #712B49 |
#7F0000 | ||
1 | GREEN | #5FA06A |
#007F00 | ||
2 | BLUE | #80A7F3 |
#00007F | ||
3 | WHITE | #E1E1E1 |
#7F7F7F | ||
4 | YELLOW | #FFFF00 |
#7F7F00 | ||
5 | PURPLE | #FF00FF |
#7F007F | ||
6 | CYAN | #00FFFF |
#007F7F |
Keywords
set, change, marker, blip, color, colour