SetActorPitch: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
(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}}") |
No edit summary |
||
| Line 7: | Line 7: | ||
|id=ACS internal | |id=ACS internal | ||
|seealso= | |seealso= | ||
*[[ChangeActorPitch]] | |||
*[[GetActorPitch]]}} | *[[GetActorPitch]]}} | ||
Latest revision as of 15:12, 5 May 2026
Description[edit]
This is an ACS built-in function.
Changes a player actor's view pitch (angle of looking up or down).
Usage[edit]
void SetActorPitch(int tid, fixed angle)
Parameters[edit]
- tid: TID of actor to affect
- angle: fixed point angle of pitch
Return value[edit]
Examples[edit]
No examples given.
Notes[edit]
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.