SetPolyobjXY

From Eternity Wiki
Revision as of 12:53, 9 May 2026 by Printz (talk | contribs) (Created page with "{{ACSFunction|description=Instantly moves a polyobject to given coordinates. |usage=''void'' '''SetPolyobjXY'''(''int po'', ''fixed x'', ''fixed y'') |parameters= *''po'': polyobject to move *''x'', ''y'': fixed point coordinates |notes= This function moves the polyobject instantly, teleporting it. The origin of the polyobject is the spawn point. |id=-303 |seealso= *GetPolyobjX *Polyobj_MoveTo}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description[edit]

This is an ACS built-in function.

Instantly moves a polyobject to given coordinates.

Usage[edit]

void SetPolyobjXY(int po, fixed x, fixed y)

Parameters[edit]

  • po: polyobject to move
  • x, y: fixed point coordinates

Return value[edit]

Examples[edit]

No examples given.

Notes[edit]

This function moves the polyobject instantly, teleporting it. The origin of the polyobject is the spawn point.

This function's identification in zspecial.acs is: -303.

See also[edit]