- Changes the blip color
- 0165: set_marker [blip handle] color_to [int]
- [blip handle]
- The handle of the blip
- 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. See below for values outside the range of the list. The opcode has no effect on sprites.
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.
It is possible to use any color in the RGB color space as the color of the blip. The color parameter accepts any value in RGBA, allowing values between 7 and. The opacity is ignored by the game and the blip's dim property does not affect the color. The following example creates an orange blip at the center of the world.
018A: [email protected] = create_checkpoint_at 0.0 0.0 0.0 0165: set_marker [email protected] color_to 0xFF8000FF
set, change, marker, blip, color, colour