Difference between revisions of "00A1"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | {{ | + | {{Icon|trilogy}} '''SET_CHAR_COORDINATES''' |
− | + | <hr /> | |
− | + | '''Description''' | |
− | + | : Puts the character at a coordinate | |
− | + | '''Syntax''' | |
− | + | : 00A1: put_actor [''char handle''] at [''float1''] [''float2''] [''float3''] | |
− | + | '''Parameter''' | |
− | + | : [''char handle''] | |
− | + | :: The handle of the character | |
− | + | : [''float1''] | |
− | + | :: X-coordinate | |
+ | : [''float2''] | ||
+ | :: Y-coordinate | ||
+ | : [''float3''] | ||
+ | :: Z-coordinate | ||
+ | '''Native analog''' | ||
+ | : [[SET_CHAR_COORDINATES]] | ||
− | + | This places the character at a coordinate. The character's feet is the point where the character will be placed by. A value of -100.0 for z-coordinate places the character exactly on the ground. If the character is in a vehicle, the vehicle will also move along with the character. | |
− | + | == Keywords == | |
+ | put, place, actor, character | ||
− | == | + | == See also == |
− | + | * [[00A0]], gets the character's coordinates | |
+ | * [[0055]], sets the player's coordinates | ||
+ | * [[00AB]], sets the vehicle's coordinates | ||
+ | * [[01BC]], sets the object's coordinates | ||
+ | * [[0972]], sets the character's center of mass coordinates | ||
+ | |||
+ | [[Category:OpCodes]] |
Revision as of 10:57, 16 June 2015
Description
- Puts the character at a coordinate
Syntax
- 00A1: put_actor [char handle] at [float1] [float2] [float3]
Parameter
- [char handle]
- The handle of the character
- [float1]
- X-coordinate
- [float2]
- Y-coordinate
- [float3]
- Z-coordinate
Native analog
This places the character at a coordinate. The character's feet is the point where the character will be placed by. A value of -100.0 for z-coordinate places the character exactly on the ground. If the character is in a vehicle, the vehicle will also move along with the character.
Keywords
put, place, actor, character