Difference between revisions of "0A40"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini = 0A40=5,%1d% %2d% %3d% %4d% %5d%
+
| games      = {{Icon|SA}}
| description = Creates an [[interior]] marker
+
| command    = CREATE_USER_3D_MARKER
| p1 = X-coordinate
+
| description = Creates a 3d marker
| p2 = Y-coordinate
+
| syntax1    = 0A40: [''var''] = create_entrance_marker_at [''flt1''] [''flt2''] [''flt3''] color [''int'']
| p3 = Z-coordinate
+
| p1t        = [''flt1'']
| p4 = Color
+
| p1d        = X-coordinate
| p5 = Enex (interior) marker ID
+
| p2t        = [''flt2'']
| game = San Andreas
+
| 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 [[GTA_SA_Replays|replays]].
 
  
==Keywords==
+
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]].
create, interior, interiour, enex, marker
 
  
[[Category:OpCodes]]
+
== Keywords ==
 +
create, interior, interiour, enex, 3d, marker

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