GetPolyobjX: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
No edit summary
 
Line 4: Line 4:
fixed GetPolyobjY (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.
Returns the X (respectively Y) coordinate of polyobject ''po'''s spawn point, in fixed-point.


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

Latest revision as of 14:16, 8 May 2026

ACS functions[edit]

fixed GetPolyobjX (int po)

fixed GetPolyobjY (int po)

Returns the X (respectively Y) coordinate of polyobject po's spawn point, in fixed-point.

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

See also[edit]