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...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
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 spawn point, in fixed-point.
 
If the tagged polyobject doesn't exist, it returns special value 32767.0.


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

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]