0054
Revision as of 07:46, 7 December 2015 by Spaceeinstein (talk | contribs) (Created page with "{{Icon|3}} {{Icon|VC}} '''GET_PLAYER_COORDINATES''' <hr /> '''Description''' : Gets the player's coordinates point '''Syntax''' : 0054: store_player [''player handle''] positi...")
Description
- Gets the player's coordinates point
Syntax
- 0054: store_player [player handle] position_to [var1] [var2] [var3]
Parameter
- [player handle]
- [var1]
- Variable to store x-coordinate
- [var2]
- Variable to store y-coordinate
- [var3]
- Variable to store z-coordinate
This opcode stores the x, y, and z-coordinates of the center of mass of the player's body. It is roughly +1.04 z higher than the z-coordinate of the player's feet, which is used when setting the player's coordinates using 0055. If the player is in a vehicle, the opcode gets the coordinates of the center of mass of the vehicle's body instead.
Keywords
get, store, player, position, coordinates