SetActorPitch

From Eternity Wiki
Revision as of 15:10, 5 May 2026 by Printz (talk | contribs) (Created page with "{{ACSFunction|description=Changes a player actor's view pitch (angle of looking up or down). |usage=''void'' '''SetActorPitch'''(''int tid'', ''fixed angle'') |parameters= *''tid'': TID of actor to affect *''angle'': fixed point angle of pitch |notes=This only works on players, as they're the only ones with distinct view pitch. Monsters only have their yaw angle defined. |id=ACS internal |seealso= *GetActorPitch}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description

This is an ACS built-in function.

Changes a player actor's view pitch (angle of looking up or down).

Usage

void SetActorPitch(int tid, fixed angle)

Parameters

Return value

Examples

No examples given.

Notes

This only works on players, as they're the only ones with distinct view pitch. Monsters only have their yaw angle defined.

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

See also