This site has been archived and made available for preservation purposes. No edits can be made.

GetPos

Retrieves the current position (X, Y, Z coordinates) of an Object.

[top]Declaration

Code cpp:
VAULTSCRIPT VAULTSPACE Void (*VAULTAPI(GetPos))(VAULTSPACE ID, VAULTSPACE Value*, VAULTSPACE Value*, VAULTSPACE Value*) VAULTCPP(noexcept);
Code c:
native GetPos(ID, &Float:X, &Float:Y, &Float:Z);

[top]Parameters

ID - the ID of the Object
Value* - used to return a Value (X coordinate)
Value* - used to return a Value (Y coordinate)
Value* - used to return a Value (Z coordinate)

[top]Return value

None.