Difference between revisions of "00A1"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 00A1=4,%1d% %2d% %3d% %4d%
+
| games      = {{Icon|t}}
| description = Places the character at a coordinate
+
| command    = SET_CHAR_COORDINATES
| p1          = Actor handle
+
| description = Sets the character's coordinates point
| p2          = X-coordinate
+
| syntax1    = 00A1: put_actor [''char handle''] at [''flt1''] [''flt2''] [''flt3'']
| p3          = Y-coordinate
+
| p1t        = [''char handle'']
| p4          = Z-coordinate
+
| p1d        = The handle of the character
| game        = GTA3, Vice City, San Andreas
+
| 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]]
 
| native      = [[SET_CHAR_COORDINATES]]
 
}}
 
}}
This places the character at a coordinate. The character's feet is the point where the character will be placed by.
 
  
==Keywords==
+
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.
put, place, actor, character
+
 
 +
== Keywords ==
 +
put, place, warp, set, actor, character, position, coordinates
 +
 
 +
== See also ==
 +
* {{Icon|3}} {{Icon|VC}} [[0055]], sets the player's coordinates
 +
* {{Icon|t}} [[00A0]], gets the character's coordinates
 +
* {{Icon|t}} [[00AB]], sets the vehicle's coordinates
 +
* {{Icon|t}} [[01BC]], sets the object's coordinates
 +
* {{Icon|SA}} [[08C7]], sets the character's coordinates without the gang
 +
* {{Icon|SA}} [[0972]], sets the character's center of mass coordinates

Latest revision as of 15:15, 13 January 2016

GTA III Vice City San Andreas SET_CHAR_COORDINATES


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

See also

  • GTA III Vice City 0055, sets the player's coordinates
  • GTA III Vice City San Andreas 00A0, gets the character's coordinates
  • GTA III Vice City San Andreas 00AB, sets the vehicle's coordinates
  • GTA III Vice City San Andreas 01BC, sets the object's coordinates
  • San Andreas 08C7, sets the character's coordinates without the gang
  • San Andreas 0972, sets the character's center of mass coordinates