ChangeActorPitch

From ZDoom Wiki
Jump to: navigation, search

void ChangeActorPitch (int tid, fixed pitch [, bool interpolate])

Usage

Sets the pitch for the actors with the specified tid. If tid is 0, it sets the pitch for the activator of the script.

This function duplicates and extends on SetActorPitch by having the added option to interpolate the view.

Parameters

  • tid: the tid of the actor.
  • pitch: the pitch to set. This is a fixed point angle. See GetActorPitch for the possible range.
  • interpolate: whether to interpolate the view or not. If true, the view is interpolated, otherwise it is not. Default is false, i.e. no interpolation.

Example

Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.