0A40

From GTAMods Wiki
Revision as of 00:09, 3 December 2016 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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