GetActorRoll

From ZDoom Wiki
Jump to navigation Jump to search

fixed GetActorRoll (int tid)

Usage

Returns the roll angle of the actor with the matching tid. If tid is 0, it gets the roll angle of the activator of the script. In conjunction with SetActorRoll or ChangeActorRoll functions, an actor's roll angle can be adjusted relatively.

Parameters

  • tid: the tid of the actor.

Return value

The actor's roll angle as a fixed point angle.

Examples

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 contributions are greatly appreciated.