Game Development Community

Getworldpoint_y

by M. Ugur Karakaplan · in Torque Game Builder · 07/07/2007 (5:27 am) · 2 replies

This question seems to be fairly easy but I couldn't figure out. How can I get y variable of getworldpoint? It returns (x,y) but I need to compare the y variable with another variable. There is no function like getworldpointy or something.

#1
07/07/2007 (6:01 am)
Maybe this would work
%y = getword(getworldpoint () , 1 );

Aun.
#2
07/07/2007 (1:24 pm)
That worked. Thanks!