Difference between revisions of "0055"
Jump to navigation
Jump to search
James227uk (talk | contribs) |
m |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | == 0055 == | + | {{OpCode |
+ | | games = {{Icon|3}} {{Icon|VC}} | ||
+ | | command = SET_PLAYER_COORDINATES | ||
+ | | description = Sets the player's coordinates point | ||
+ | | syntax1 = 0055: put_player [''player handle''] at [''flt1''] [''flt2''] [''flt3''] | ||
+ | | p1t = [''player handle''] | ||
+ | | p1d = The [[0053|handle of the player]] | ||
+ | | p2t = [''flt1''] | ||
+ | | p2d = X-coordinate | ||
+ | | p3t = [''flt2''] | ||
+ | | p3d = Y-coordinate | ||
+ | | p4t = [''flt3''] | ||
+ | | p4d = Z-coordinate (or ≤''-100.0'' for [[02CE|ground z]]) | ||
+ | }} | ||
+ | This opcode sets the player's coordinates point by warping the player character to the location. The player's feet is the point where the player character will be placed by. If the player is in a vehicle, the vehicle will also move along with the player. | ||
− | + | == Keywords == | |
+ | put, place, warp, set, player, position, coordinates | ||
− | '' | + | == See also == |
− | + | * {{Icon|3}} {{Icon|VC}} [[0054]], gets the player's coordinates | |
− | + | * {{Icon|t}} [[00A1]], sets the character's coordinates | |
− | + | * {{Icon|t}} [[00AB]], sets the vehicle's coordinates | |
− | + | * {{Icon|t}} [[01BC]], sets the object's coordinates | |
− | |||
− | |||
− | |||
− | |||
[[Category:OpCodes]] | [[Category:OpCodes]] |
Latest revision as of 23:18, 19 January 2016
- Description
- Sets the player's coordinates point
- Syntax
- 0055: put_player [player handle] at [flt1] [flt2] [flt3]
- Parameter
- [player handle]
- The handle of the player
- [flt1]
- X-coordinate
- [flt2]
- Y-coordinate
- [flt3]
- Z-coordinate (or ≤-100.0 for ground z)
This opcode sets the player's coordinates point by warping the player character to the location. The player's feet is the point where the player character will be placed by. If the player is in a vehicle, the vehicle will also move along with the player.
Keywords
put, place, warp, set, player, position, coordinates