Difference between revisions of "0570"

From GTAMods Wiki
Jump to navigation Jump to search
(minor fixes)
Line 6: Line 6:
 
: 0570:   [''blip handle''] = create_asset_radar_marker_with_icon [int] at [flt1] [flt2] [flt3]  
 
: 0570:   [''blip handle''] = create_asset_radar_marker_with_icon [int] at [flt1] [flt2] [flt3]  
 
'''Parameter'''
 
'''Parameter'''
: [''blip handle'']
 
:: The handle of the blip
 
 
: [''int'']
 
: [''int'']
 
:: [[Blip#List of sprites|Sprite id]]
 
:: [[Blip#List of sprites|Sprite id]]
Line 16: Line 14:
 
: [''flt3'']
 
: [''flt3'']
 
:: Z-coordinate (or ''-100.0'' for [[02CE|ground z]])
 
:: Z-coordinate (or ''-100.0'' for [[02CE|ground z]])
 +
: [''blip handle'']
 +
:: The handle of the blip
 
'''Native analog'''
 
'''Native analog'''
 
: [[CREATE_ASSET_RADAR_MARKER_WITH_ICON]]
 
: [[CREATE_ASSET_RADAR_MARKER_WITH_ICON]]

Revision as of 00:47, 20 November 2016

Vice City San Andreas ADD_SHORT_RANGE_SPRITE_BLIP_FOR_CONTACT_POINT


Description

Creates a sprite blip at the coordinates specified.

Syntax

0570:   [blip handle] = 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)
[blip handle]
The handle of the blip

Native analog

CREATE_ASSET_RADAR_MARKER_WITH_ICON

This opcode creates a specified blip and sphere at given coordinates. It is only visible on the radar when in range and adds a sphere at the coordinates.

Keywords

blip, marker, display, contact, asset