GetActorPitch

From Eternity Wiki
Revision as of 14:28, 3 May 2026 by Printz (talk | contribs) (Created page with "{{ACSFunction|description=Returns a tagged actor's view pitch. |usage=''fixed'' '''GetActorPitch'''(''int'' ''tid'') |parameters= *''tid'': TID of actor to check. |return=''angle'': fixed point angle of view pitch. |notes=Currently this only works with players, so the only useful TID values are 0 for the activator, or -1 to -4 to select a given player. The pitch is determined by the looking angle when free-look is enabled. |id=(ACS internal)}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description

This is an ACS built-in function.

Returns a tagged actor's view pitch.

Usage

fixed GetActorPitch(int tid)

Parameters

  • tid: TID of actor to check.

Return value

angle: fixed point angle of view pitch.

Examples

No examples given.

Notes

Currently this only works with players, so the only useful TID values are 0 for the activator, or -1 to -4 to select a given player. The pitch is determined by the looking angle when free-look is enabled.

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

See also