Difference between revisions of "00A1"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
− | {{Icon|t}} | + | {{OpCode |
− | + | | games = {{Icon|t}} | |
− | + | | command = SET_CHAR_COORDINATES | |
− | + | | description = Sets the character's coordinates point | |
− | + | | syntax1 = 00A1: put_actor [''char handle''] at [''flt1''] [''flt2''] [''flt3''] | |
− | + | | p1t = [''char handle''] | |
− | + | | p1d = The handle of the character | |
− | + | | p2t = [''flt1''] | |
− | + | | p2d = X-coordinate | |
− | + | | p3t = [''flt2''] | |
− | + | | p3d = Y-coordinate | |
− | + | | p4t = [''flt3''] | |
− | + | | p4d = Z-coordinate (or ≤''-100.0'' for [[02CE|ground z]]) | |
− | + | | native = [[SET_CHAR_COORDINATES]] | |
− | + | }} | |
− | |||
− | |||
This opcode sets the character's coordinates point by warping it to the location. The character's feet is the point where the character will be placed by. If the character is in a vehicle, the vehicle will also move along with the character. | This opcode sets the character's coordinates point by warping it to the location. The character's feet is the point where the character will be placed by. If the character is in a vehicle, the vehicle will also move along with the character. | ||
Line 29: | Line 27: | ||
* {{Icon|SA}} [[08C7]], sets the character's coordinates without the gang | * {{Icon|SA}} [[08C7]], sets the character's coordinates without the gang | ||
* {{Icon|SA}} [[0972]], sets the character's center of mass coordinates | * {{Icon|SA}} [[0972]], sets the character's center of mass coordinates | ||
− | |||
− |
Latest revision as of 15:15, 13 January 2016
- Description
- Sets the character's coordinates point
- Syntax
- 00A1: put_actor [char handle] at [flt1] [flt2] [flt3]
- Parameter
- [char handle]
- The handle of the character
- [flt1]
- X-coordinate
- [flt2]
- Y-coordinate
- [flt3]
- Z-coordinate (or ≤-100.0 for ground z)
- Native analog
- SET_CHAR_COORDINATES
This opcode sets the character's coordinates point by warping it to the location. The character's feet is the point where the character will be placed by. If the character is in a vehicle, the vehicle will also move along with the character.
Keywords
put, place, warp, set, actor, character, position, coordinates