GetActorX

From Eternity Wiki
Revision as of 14:35, 3 May 2026 by Printz (talk | contribs) (Created page with "{{ACSFunction|description=Returns the given x, y or z coordinate of the tagged actor. |usage= ''fixed'' '''GetActorX'''(''int'' ''tid'') ''fixed'' '''GetActorY'''(''int'' ''tid'') ''fixed'' '''GetActorZ'''(''int'' ''tid'') |parameters= *''tid'': TID of tagged actor |notes=This returns the absolute coordinates, without taking into account portal shifting. |id=(ACS internal)}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description[edit]

This is an ACS built-in function.

Returns the given x, y or z coordinate of the tagged actor.

Usage[edit]

fixed GetActorX(int tid)

fixed GetActorY(int tid)

fixed GetActorZ(int tid)

Parameters[edit]

  • tid: TID of tagged actor

Return value[edit]

Examples[edit]

No examples given.

Notes[edit]

This returns the absolute coordinates, without taking into account portal shifting.

This function's identification in zspecial.acs is: (ACS internal).

See also[edit]