Difference between revisions of "068D"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
<code>068D=3,%1d% %2d% %3d%</code><br>
+
{{OpCode
'''Description''': Get camera position<br>
+
| games      = {{Icon|SA}}
'''Parameter 1''': A variable to store X-coordinate<br>
+
| command    = GET_ACTIVE_CAMERA_COORDINATES
'''Parameter 2''': A variable to store Y-coordinate<br>
+
| description = Gets the camera coordinates
'''Parameter 3''': A variable to store Z-coordinate<br>
+
| syntax1    = 068D: get_camera_position_to [''var1''] [''var2''] [''var3'']
'''Supports''': San Andreas<br>
+
| p1t        = [''var1'']
 +
| p1d        = Variable to store the x-coordinate
 +
| p2t        = [''var2'']
 +
| p2d        = Variable to store the y-coordinate
 +
| p3t        = [''var3'']
 +
| p3d        = Variable to store the z-coordinate
 +
}}
  
This opcode stores the position of the camera to X, Y, and Z coordinates.
+
This opcode stores the x, y, and z-coordinates of the camera.
  
 
==Keywords==
 
==Keywords==
 
get, camera, position, coordinate
 
get, camera, position, coordinate
 
[[Category:OpCodes]]
 

Latest revision as of 05:58, 28 January 2016

San Andreas GET_ACTIVE_CAMERA_COORDINATES


Description
Gets the camera coordinates
Syntax
068D: get_camera_position_to [var1] [var2] [var3]
Parameter
[var1]
Variable to store the x-coordinate
[var2]
Variable to store the y-coordinate
[var3]
Variable to store the z-coordinate

This opcode stores the x, y, and z-coordinates of the camera.

Keywords

get, camera, position, coordinate