Difference between revisions of "00A0"
Jump to navigation
Jump to search
(page updates) |
m |
||
Line 4: | Line 4: | ||
: Gets the coordinates of the character | : Gets the coordinates of the character | ||
'''Syntax''' | '''Syntax''' | ||
− | : 00A0: store_actor [''char handle''] position_to ['' | + | : 00A0: store_actor [''char handle''] position_to [''var1''] [''var2''] [''var3''] |
− | : Actor.StorePos( [''char handle''], ['' | + | : Actor.StorePos( [''char handle''], [''var1''], [''var2''], [''var3''] ) |
'''Parameter''' | '''Parameter''' | ||
: [''char handle''] | : [''char handle''] | ||
:: The handle of the character | :: The handle of the character | ||
− | : ['' | + | : [''var1''] |
:: Variable to store x-coordinate | :: Variable to store x-coordinate | ||
− | : ['' | + | : [''var2''] |
:: Variable to store y-coordinate | :: Variable to store y-coordinate | ||
− | : ['' | + | : [''var3''] |
:: Variable to store z-coordinate | :: Variable to store z-coordinate | ||
Revision as of 04:22, 5 January 2015
Description
- Gets the coordinates of the character
Syntax
- 00A0: store_actor [char handle] position_to [var1] [var2] [var3]
- Actor.StorePos( [char handle], [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
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