SetActorRoll

From ZDoom Wiki
Jump to navigation Jump to search
Circle gzdoom.png Warning: This feature is GZDoom specific, and is not compatible with ZDoom!
To see all of GZDoom's specific features, see GZDoom features.

void SetActorRoll (int tid, fixed angle)

Usage

Sets the roll angle for the actors with the specified tid. If tid is 0, it sets the roll angle for the activator of the script. Note that the function has a visual effect on models and player's view (when called for players) only. It has no effect on sprites.

Parameters

  • tid: the tid of the actor.
  • angle: the roll angle to set. This is a fixed point angle in the range of 0.0 to 1.0, with:
    • 0.25 → right
    • 0.5 → down
    • 0.75 → left
    • 1.0 → up

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.