Skip to Content
The Alchemy Project

src/scene/shared/actor_take_place_of.c

Included by magma_rock.c, magma_rock_inside.c, crumbling_pillar.c and trial_road.c.

Functions

NameDescription
voidscActorTakePlaceOf (ACTOR *actor, ACTOR *target)Puts actor where target stands, at rest, and target away at the origin.

Functions in detail

scActorTakePlaceOf

void scActorTakePlaceOf(ACTOR *actor, ACTOR *target)

Puts actor where target stands, at rest, and target away at the origin.

References scFieldActorSetPosAndResetMotion().

Referenced by scCrumblingPillarStepWithStandIn(), scMagmaRockInsideStepOnTrap(), scMagmaRockStepOnTrap() and scTrialRoadStepOnTrap().

Definition at line 2 of file actor_take_place_of.c.