Difference between revisions of "0A40"

From GTAMods Wiki
Jump to navigation Jump to search
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<code>0A40=5,%1d% %2d% %3d% %4d% %5d%</code><br>
+
{{OpCode
'''Description''': Creates an interior marker<br>
+
| games      = {{Icon|SA}}
'''Parameter 1''': X-coordinate<br>
+
| command    = CREATE_USER_3D_MARKER
'''Parameter 2''': Y-coordinate<br>
+
| description = Creates a 3d marker
'''Parameter 3''': Z-coordinate<br>
+
| syntax1    = 0A40: [''var''] = create_entrance_marker_at [''flt1''] [''flt2''] [''flt3''] color [''int'']
'''Parameter 4''': Color<br>
+
| p1t        = [''flt1'']
'''Parameter 5''': Enex (interior) marker ID<br>
+
| p1d        = X-coordinate
'''Supports''': San Andreas<br>
+
| p2t        = [''flt2'']
 +
| p2d        = Y-coordinate
 +
| p3t        = [''flt3'']
 +
| p3d        = Z-coordinate
 +
| p4t        = [''int'']
 +
| p4d        = Color
 +
| p5t        = [''var'']
 +
| p5d        = Variable to store the handle of the 3d marker
 +
}}
  
This opcode creates an interior marker. The opcode alone is used for ornamental purposes. It does not teleport you to an actual interior. The limit amount of interior markers created with this opcode that can be on the map is five. Since the interior marker is not solid, using the lazy way of estimating the Z-coordinate using -100.0 does not work. The color of the interior marker can sometimes become white. I do not know why this happens. The interior marker can be deleted using [[0A41]]. It can be seen during replays.
+
This opcode spawns a 3d marker into the world. The marker is typically used to denote interior access but it does not create access to the actual interior. The number of 3d markers created with this opcode is limited to five. Unlike most positioning opcodes, using -100.0 as the z-coordinate to detect ground z does not work. The 3d marker can be removed using [[0A41]]. It can be seen during [[Replays (GTA SA)|replays]].
  
==Keywords==
+
== Keywords ==
create, interior, interiour, enex, marker
+
create, interior, interiour, enex, 3d, marker
 
 
[[Category:OpCodes]]
 

Latest revision as of 00:09, 3 December 2016

San Andreas CREATE_USER_3D_MARKER


Description
Creates a 3d marker
Syntax
0A40: [var] = create_entrance_marker_at [flt1] [flt2] [flt3] color [int]
Parameter
[flt1]
X-coordinate
[flt2]
Y-coordinate
[flt3]
Z-coordinate
[int]
Color
[var]
Variable to store the handle of the 3d marker

This opcode spawns a 3d marker into the world. The marker is typically used to denote interior access but it does not create access to the actual interior. The number of 3d markers created with this opcode is limited to five. Unlike most positioning opcodes, using -100.0 as the z-coordinate to detect ground z does not work. The 3d marker can be removed using 0A41. It can be seen during replays.

Keywords

create, interior, interiour, enex, 3d, marker