Difference between revisions of "0570"
Jump to navigation
Jump to search
(updates) |
|||
Line 1: | Line 1: | ||
− | {{Icon|VC}} {{Icon|SA}} | + | {{OpCode |
− | < | + | | games = {{Icon|VC}} {{Icon|SA}} |
− | + | | command = ADD_<wbr>SHORT_<wbr>RANGE_<wbr>SPRITE_<wbr>BLIP_<wbr>FOR_<wbr>CONTACT_<wbr>POINT | |
− | + | | description = Adds a short range sprite [[blip]] to the contact point | |
− | + | | syntax1 = 0570: [''var''] = create_asset_radar_marker_with_icon [''int''] at [''flt1''] [''flt2''] [''flt3''] | |
− | + | | p1t = [''int''] | |
− | '' | + | | p1d = [[Blip#List of sprites|Sprite id]] |
− | + | | p2t = [''flt1''] | |
− | + | | p2d = X-coordinate | |
− | + | | p3t = [''flt2''] | |
− | + | | p3d = Y-coordinate | |
− | + | | p4t = [''flt3''] | |
− | + | | p4d = Z-coordinate (or ≤''-100.0'' for [[02CE|ground z]]) | |
− | + | | p5t = [''var''] | |
− | + | | p5d = Variable to store the handle of the blip | |
− | + | }} | |
− | |||
− | |||
− | |||
− | This opcode | + | 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 == | ||
− | + | create, set, marker, blip, display, contact, point, asset, radar | |
− | |||
− |
Latest revision as of 11:53, 26 November 2016
ADD_
- 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
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