GetActorPitch: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 7: Line 7:
|id=(ACS internal)
|id=(ACS internal)
|seealso=
|seealso=
*[[ChangeActorPitch]]
*[[SetActorPitch]]}}
*[[SetActorPitch]]}}

Latest revision as of 15:13, 5 May 2026

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]