Alexandria is currently undergoing
maintenance and will be back shortly!



Take the Tour | Site Map

Name

worldXYZToScreenXY — Convert 3D world coordinates to 2D screen coordinates.

Synopsis

call subs.txt worldXYZToScreenXY { worldx } { worldy } { worldz }

Author

the.WZA

Parameters

Table 10. worldXYZToScreenXY parameters

NameDescription
worldxWorld x-coordinate.
worldyWorld y-coordinate.
worldzWorld z-coordinate.

Description

Convert 3D world coordinates to 2D screen coordinates.

Returns

%_cursorX and %_cursorY holds the screen coordinates.

See Also

subs.clickScreenXYZ, subs.checkScreenXY