Difference between revisions of "00A1"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
− | {{Icon| | + | {{Icon|t}} '''SET_CHAR_COORDINATES''' |
<hr /> | <hr /> | ||
'''Description''' | '''Description''' | ||
: Puts the character at a coordinate | : Puts the character at a coordinate | ||
'''Syntax''' | '''Syntax''' | ||
− | : 00A1: put_actor [''char handle''] at ['' | + | : 00A1: put_actor [''char handle''] at [''flt1''] [''flt2''] [''flt3''] |
'''Parameter''' | '''Parameter''' | ||
: [''char handle''] | : [''char handle''] | ||
:: The handle of the character | :: The handle of the character | ||
− | : ['' | + | : [''flt1''] |
:: X-coordinate | :: X-coordinate | ||
− | : ['' | + | : [''flt2''] |
:: Y-coordinate | :: Y-coordinate | ||
− | : ['' | + | : [''flt3''] |
− | :: Z-coordinate | + | :: Z-coordinate (or ''-100.0'' for [[02CE|ground z]]) |
'''Native analog''' | '''Native analog''' | ||
: [[SET_CHAR_COORDINATES]] | : [[SET_CHAR_COORDINATES]] | ||
− | This places the character at a coordinate. The character's feet is the point where the character will be placed by | + | This places the character at a coordinate. 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 == | == Keywords == | ||
− | put, place, actor, character | + | put, place, set, actor, character, position, coordinates |
== See also == | == See also == | ||
− | * [[ | + | * {{Icon|3}} {{Icon|VC}} [[0055]], sets the player's coordinates |
− | * [[ | + | * {{Icon|t}} [[00A0]], gets the character's coordinates |
− | * [[00AB]], sets the vehicle's coordinates | + | * {{Icon|t}} [[00AB]], sets the vehicle's coordinates |
− | * [[01BC]], sets the object's coordinates | + | * {{Icon|t}} [[01BC]], sets the object's coordinates |
− | * [[0972]], sets the character's center of mass coordinates | + | * {{Icon|SA}} [[0972]], sets the character's center of mass coordinates |
[[Category:OpCodes]] | [[Category:OpCodes]] |
Revision as of 06:13, 7 December 2015
Description
- Puts the character at a coordinate
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
This places the character at a coordinate. 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, set, actor, character, position, coordinates