Difference between revisions of "00A0"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 5: Line 5:
 
'''Syntax'''
 
'''Syntax'''
 
: 00A0: store_actor [''char handle''] position_to [''var1''] [''var2''] [''var3'']
 
: 00A0: store_actor [''char handle''] position_to [''var1''] [''var2''] [''var3'']
: Actor.StorePos( [''char handle''], [''var1''], [''var2''], [''var3''] )
 
 
'''Parameter'''
 
'''Parameter'''
 
: [''char handle'']
 
: [''char handle'']
Line 15: Line 14:
 
: [''var3'']
 
: [''var3'']
 
:: Variable to store z-coordinate
 
:: Variable to store z-coordinate
 +
'''Native analog'''
 +
: [[GET_CHAR_COORDINATES]]
  
 
This opcode stores the current position of the character's x, y, and z-coordinates.
 
This opcode stores the current position of the character's x, y, and z-coordinates.

Revision as of 10:31, 16 June 2015

GTA III Vice City San Andreas GET_CHAR_COORDINATES


Description

Gets the coordinates of the character

Syntax

00A0: store_actor [char handle] position_to [var1] [var2] [var3]

Parameter

[char handle]
The handle of the character
[var1]
Variable to store x-coordinate
[var2]
Variable to store y-coordinate
[var3]
Variable to store z-coordinate

Native analog

GET_CHAR_COORDINATES

This opcode stores the current position of the character's x, y, and z-coordinates.

Keywords

get, store, actor, position

See also

  • 00A1, sets the character's coordinates
  • 0054, gets the player's coordinates
  • 00AA, gets the vehicle's coordinates
  • 01BB, gets the object's coordinates