Difference between revisions of "03DD"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{OpCode | games = {{Icon|3}} | command = ADD_SPRITE_BLIP_FOR_PICKUP | description = Adds a sprite blip and a marker to the pickup | syntax1 = 03DD: crea...")
 
(use keywords to search related pages)
 
Line 15: Line 15:
  
 
== Keywords ==
 
== Keywords ==
create, set, marker, blip, arrow, sprite, pickup
+
create, set, {{k|marker}}, {{k|blip}}, arrow, {{k|sprite}}, {{k|pickup}}

Latest revision as of 09:32, 16 October 2016

GTA III ADD_SPRITE_BLIP_FOR_PICKUP


Description
Adds a sprite blip and a marker to the pickup
Syntax
03DD: create_marker_above_pickup [pickup handle] icon [int] handle [var]
Parameter
[pickup handle]
The handle of the pickup
[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 pickup and a marker above the pickup. Both the blip and marker can be removed using opcode 0164 or if the pickup is removed by any means. For pickup types that allow the pickup to respawn, the blip and marker will not reappear when it respawns.

Keywords

create, set, marker, blip, arrow, sprite, pickup