GetActorPitch

From Eternity Wiki
Jump to navigationJump to search

Description[edit]

This is an ACS built-in function.

Returns a tagged actor's view pitch.

Usage[edit]

fixed GetActorPitch(int tid)

Parameters[edit]

  • tid: TID of actor to check.

Return value[edit]

angle: fixed point angle of view pitch.

Examples[edit]

No examples given.

Notes[edit]

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[edit]