02A6

From GTAMods Wiki
Jump to navigation Jump to search

GTA III ADD_SPRITE_BLIP_FOR_OBJECT


Description

Adds a sprite blip and a marker to the object

Syntax

02A6: create_marker_above_object [object handle] icon [int] handle [var]

Parameter

[object handle]
The handle of the object
[int]
Sprite id
[var]
Variable to store the handle of the blip

This opcode adds a sprite blip in the radar denoting the location of the object and a marker above the object. Both the blip and marker can be removed using opcode 0164. This opcode was never called in the original script of GTA III.

Keywords

create, set, marker, blip, arrow, sprite, object