Turn

From Eternity Wiki
Jump to navigationJump to search

Description

Rotates a thing's angle.

Usage

A_Turn(mode, counter_or_value)

misc1 angle

Parameters

  • mode: if 0 (default), use the misc1 field angle, which is the number of degrees to increase angle.

If 1, then counter_or_value is a counter ID (0 to 7) with the number of degrees to rotate, not misc1.

If 2, then counter_or_value is a counter ID (0 to 7) with the 32-bit angle where 0x20000000 maps to 45 degrees.

If 3, then counter_or_value is the value in degrees.

Examples

No examples given.

Notes

This changes the direction it faces.

See also