Skip to Content
The Alchemy Project

src/field/actor_step_angle.c

An actor script call that turns an actor toward an angle a step at a time.

Included by jupiter_lighthouse_aerie_beacon.c.

Functions

NameDescription
Sint32fdActorStepAngle (ACTOR *actor)SC_CALL function that turns an actor toward the angle kept in its faceAngle: the whole way when within 1/16 turn, otherwise 1/32 turn.

Description

An actor script call that turns an actor toward an angle a step at a time.

Functions in detail

fdActorStepAngle

Sint32 fdActorStepAngle(ACTOR *actor)

SC_CALL function that turns an actor toward the angle kept in its faceAngle: the whole way when within 1/16 turn, otherwise 1/32 turn.

References Sint32.

Referenced by ActorLaunchScript and ActorStepAngleScript.

Definition at line 7 of file actor_step_angle.c.