Difference between revisions of "00A1"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 10: Line 10:
 
}}
 
}}
 
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. Oddly, it places the character about -1.0 z offset from the opcode that gets the character's coordinates, opcode [[00A0]].
 
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. Oddly, it places the character about -1.0 z offset from the opcode that gets the character's coordinates, opcode [[00A0]].
 +
 +
==Sanny Builder Example==
 +
 +
<source lang="scm">00A1: put_actor $PLAYER_ACTOR at 345.5621 306.2212 998.4484</source>
  
 
==Keywords==
 
==Keywords==
 
put, place, actor, character
 
put, place, actor, character

Revision as of 14:29, 19 December 2010

{{{games}}}


Description
Sets the character at a coordinate
Syntax
{{{syntax1}}}
Parameter
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. If the character is in a vehicle, the vehicle will also move along with the character. Oddly, it places the character about -1.0 z offset from the opcode that gets the character's coordinates, opcode 00A0.

Sanny Builder Example

00A1: put_actor $PLAYER_ACTOR at 345.5621 306.2212 998.4484

Keywords

put, place, actor, character