0570

From GTAMods Wiki
Revision as of 11:53, 26 November 2016 by Spaceeinstein (talk | contribs) (updates)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Vice City San Andreas ADD_SHORT_RANGE_SPRITE_BLIP_FOR_CONTACT_POINT


Description
Adds a short range sprite blip to the contact point
Syntax
0570: [var] = create_asset_radar_marker_with_icon [int] at [flt1] [flt2] [flt3]
Parameter
[int]
Sprite id
[flt1]
X-coordinate
[flt2]
Y-coordinate
[flt3]
Z-coordinate (or ≤-100.0 for ground z)
[var]
Variable to store the handle of the blip

This opcode adds a sprite blip in the radar to the contact point and a marker at the point. The blip's short range means it disappears from the radar if it is outside the radar's range; the blip still appears in the pause menu's map. The blip and marker disappear entirely during missions and reappear when the mission ends.

Keywords

create, set, marker, blip, display, contact, point, asset, radar