Difference between revisions of "00AA"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
− | {{Icon|t}} | + | {{OpCode |
− | + | | games = {{Icon|t}} | |
− | + | | command = GET_CAR_COORDINATES | |
− | + | | description = Gets the vehicle's coordinates point | |
− | + | | syntax1 = 00AA: store_car [''car handle''] position_to [''var1''] [''var2''] [''var3''] | |
− | + | | p1t = [''car handle''] | |
− | + | | p1d = The handle of the vehicle | |
− | + | | p2t = [''var1''] | |
− | + | | p2d = Variable to store the x-coordinate | |
− | + | | p3t = [''var2''] | |
− | + | | p3d = Variable to store the y-coordinate | |
− | + | | p4t = [''var3''] | |
− | + | | p4d = Variable to store the z-coordinate | |
− | + | | native = [[GET_CAR_COORDINATES]] | |
− | + | }} | |
− | |||
− | |||
This opcode gets the x, y, and z-coordinates of the center of mass of the vehicle's body. | This opcode gets the x, y, and z-coordinates of the center of mass of the vehicle's body. | ||
+ | |||
+ | == Example == | ||
+ | :''See [[0136#Example]]'' | ||
== Keywords == | == Keywords == | ||
Line 24: | Line 25: | ||
== See also == | == See also == | ||
* {{Icon|t}} [[00AB]], sets the vehicle's coordinates | * {{Icon|t}} [[00AB]], sets the vehicle's coordinates | ||
− | |||
− |
Latest revision as of 12:25, 14 January 2017
- Description
- Gets the vehicle's coordinates point
- Syntax
- 00AA: store_car [car handle] position_to [var1] [var2] [var3]
- Parameter
- [car handle]
- The handle of the vehicle
- [var1]
- Variable to store the x-coordinate
- [var2]
- Variable to store the y-coordinate
- [var3]
- Variable to store the z-coordinate
- Native analog
- GET_CAR_COORDINATES
This opcode gets the x, y, and z-coordinates of the center of mass of the vehicle's body.
Example
- See 0136#Example
Keywords
get, store, car, vehicle, position, coordinates, location
See also
- 00AB, sets the vehicle's coordinates