Difference between revisions of "0570"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|VC}} {{Icon|SA}} <hr /> '''Description''' : Create a sprite blip on the coordinates specified. Only visible on the radar when in range and adds a sphere on the coor...")
 
(updates)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Icon|VC}} {{Icon|SA}}
+
{{OpCode
<hr />
+
| games      = {{Icon|VC}} {{Icon|SA}}
'''Description'''
+
| command    = ADD_<wbr>SHORT_<wbr>RANGE_<wbr>SPRITE_<wbr>BLIP_<wbr>FOR_<wbr>CONTACT_<wbr>POINT
: Create a sprite [[blip]] on the coordinates specified. Only visible on the radar when in range and adds a sphere on the coordinates.
+
| description = Adds a short range sprite [[blip]] to the contact point
<hr />
+
| syntax1    = 0570: [''var''] = create_asset_radar_marker_with_icon [''int''] at [''flt1''] [''flt2''] [''flt3'']
'''Syntax'''
+
| p1t        = [''int'']
: 0570: &nbsp; [''blip handle''] = create_asset_radar_marker_with_icon [int] at [flt1] [flt2] [flt3]
+
| p1d        = [[Blip#List of sprites|Sprite id]]
'''Parameter'''
+
| p2t        = [''flt1'']
: [''blip handle'']
+
| p2d        = X-coordinate
:: The handle of the blip
+
| p3t        = [''flt2'']
: [''int'']
+
| p3d        = Y-coordinate
:: A [[Blip#List of sprites|blip ID]]
+
| p4t        = [''flt3'']
: [''flt1'']
+
| p4d        = Z-coordinate (or &le;''-100.0'' for [[02CE|ground z]])
:: X-coordinate
+
| p5t        = [''var'']
: [''flt2'']
+
| p5d        = Variable to store the handle of the blip
:: Y-coordinate
+
}}
: [''flt3'']
 
:: Z-coordinate (or ''-100.0'' for [[02CE|ground z]])
 
 
 
'''Native analog'''
 
: [[CREATE_ASSET_RADAR_MARKER_WITH_ICON]]
 
This opcode creates a specified blip and sphere on the coordinations.
 
  
 +
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 [[0180|missions]] and reappear when the mission ends.
  
 
== Keywords ==
 
== Keywords ==
blip, marker, display, show
+
create, set, marker, blip, display, contact, point, asset, radar
 
 
[[Category:OpCodes]]
 

Latest revision as of 11:53, 26 November 2016

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