Difference between revisions of "0A40"
Jump to navigation
Jump to search
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{OpCode | |
− | ''' | + | | games = {{Icon|SA}} |
− | ''' | + | | command = CREATE_USER_3D_MARKER |
− | ''' | + | | description = Creates a 3d marker |
− | ''' | + | | syntax1 = 0A40: [''var''] = create_entrance_marker_at [''flt1''] [''flt2''] [''flt3''] color [''int''] |
− | ''' | + | | p1t = [''flt1''] |
− | ''' | + | | p1d = X-coordinate |
− | + | | 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 | + | 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 |
− | |||
− |
Latest revision as of 00:09, 3 December 2016
- 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