GetPolyobjX: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(Created page with "==ACS functions== fixed GetPolyobjX (int po) fixed GetPolyobjY (int po) Returns the X (respectively Y) coordinate of polyobject ''po'''s center point. It does not return the...")
 
 
Line 4: Line 4:
fixed GetPolyobjY (int po)
fixed GetPolyobjY (int po)


Returns the X (respectively Y) coordinate of polyobject ''po'''s center point. It does not return the coordinate of the anchor thing.
Returns the X (respectively Y) coordinate of polyobject ''po'''s center point, in fixed-point. It does not return the coordinate of the anchor thing.
 
If the tagged polyobject doesn't exist, it returns special value 32767.0.


===See also===
===See also===

Latest revision as of 08:29, 22 June 2019

ACS functions[edit]

fixed GetPolyobjX (int po)

fixed GetPolyobjY (int po)

Returns the X (respectively Y) coordinate of polyobject po's center point, in fixed-point. It does not return the coordinate of the anchor thing.

If the tagged polyobject doesn't exist, it returns special value 32767.0.

See also[edit]