02A6

From GTAMods Wiki
Revision as of 20:15, 1 September 2015 by Spaceeinstein (talk | contribs) (Created page with "{{Icon|3}} '''ADD_SPRITE_BLIP_FOR_OBJECT''' <hr /> '''Description''' : Adds a sprite blip and a marker to the object '''Syntax''' : 02A6: create_marker_above_object [''obj...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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