<RetVar> = The variable where requested information is put in numeric form.
<RefObj> = The object from which the value is taken.
Finds the Y position coordinate of any object and sets it as a numeric variable.
Coordinates are in meters.
Example:
$PlyX = [PLAYERSHIP] get x position
$PlyY = [PLAYERSHIP] get y position
$PlyZ = [PLAYERSHIP] get z position
This would get, as the 3 variables $PlyX,$PlyY and $PlyZ, the full position of the playership in X,Y,Z coordinates.
Command Location:
- »» General Object Commands
<RetVar> = <RefObj> get y position