Skip to Content
The Alchemy Project

struct ACTOR_PLACE

An actor a scene places: its sprite, the condition for placing it, how it behaves, where it stands and which way it faces, and how it turns to talk.

Declared in scene_tables.h.

Fields

NameDescription
Sint16spritethe actor's sprite; SCENE_TABLE_END ends the table
Sint16conditionCONDITION_ALWAYS, or a flag condition
Sint32behaviorMOVEMENT_TYPE or actor script, for fdActorSetMovementType
FIXEDx16.16 fixed-point pixels
FIXEDy16.16 fixed-point pixels
FIXEDz16.16 fixed-point pixels
Uint16facing1/65536 turns (FACING)
Uint8talkFacingACTOR_TALK_FACING
Uint8flags

Description

An actor a scene places: its sprite, the condition for placing it, how it behaves, where it stands and which way it faces, and how it turns to talk.

struct ACTOR_PLACE

Referenced by ActorPlacements, AirsRockCliffPlacements, AirsRockEntrancePlacements, AirsRockInsideEntrancePlacements, AirsRockInsideFaceVentsPlacements, AirsRockInsideHallPlacements, AirsRockInsidePairedStakesPlacements, AirsRockInsidePlacements, AirsRockInsideRevealTabletPlacements, AirsRockInsideStatuesPlacements, AirsRockInsideTightropesPlacements, AirsRockInsideTurningBridgePlacements, AirsRockInsideWindStonePlacements, AirsRockSummitPlacements, AlhafraActorPlacements, AlhafraActorPlacementsOnceBriggsIsCaught, AlhafraActorPlacementsOnceTheMastIsCleared, AlhafraActorPlacementsOnceTheShipIsStolen, AlhafraManorActorPlacementsOnceTheMastIsCleared, AlhafranCaveCaveActorPlacements, AlhafranCaveJailActorPlacements, AlhafraRoomsActorPlacementsOnceBriggsIsCaught, AlhafraRoomsActorPlacementsOnceTheMastIsCleared, AnemosInnerSanctumBoulderPlacements, AnemosInnerSanctumCrackedFloorPlacements, AnemosInnerSanctumDullahanEmptyPlacements, AnemosInnerSanctumDullahanPlacements, AnemosInnerSanctumElevatorPlacements, AnemosInnerSanctumGatePlacements, AnemosInnerSanctumMimicStonesPlacements, AnemosInnerSanctumPlacements, AngaraCavernPlacements, AnkohlRuinsFifthFloorPlacements, AnkohlRuinsFirstFloorPlacements, AnkohlRuinsFourthFloorPlacements, AnkohlRuinsLeftProngPlacements, AnkohlRuinsPlacements, AnkohlRuinsSandRoomsPlacements, AnkohlRuinsSecondFloorPlacements, AnkohlRuinsThirdFloorPlacements, ApojiiIslandsHazePlacements, ApojiiIslandsPlacements, ApojiiIslandsShopsPlacements, ApojiiIslandsVillagePlacements, AquaRockInsideAquariusStonePlacements, AquaRockInsideEntrancePlacements, AquaRockInsideFloodedHallPlacements, AquaRockInsideLowerExitPlacements, AquaRockInsideParchTabletPlacements, AquaRockInsidePlacements and 307 more.

Definition at line 161 of file scene_tables.h.

Fields in detail

sprite

Sint16 sprite

the actor's sprite; SCENE_TABLE_END ends the table

condition

Sint16 condition

CONDITION_ALWAYS, or a flag condition

behavior

Sint32 behavior

MOVEMENT_TYPE or actor script, for fdActorSetMovementType

x

FIXED x

16.16 fixed-point pixels

y

FIXED y

16.16 fixed-point pixels

z

FIXED z

16.16 fixed-point pixels

facing

Uint16 facing

1/65536 turns (FACING)

talkFacing

Uint8 talkFacing

ACTOR_TALK_FACING

flags

Uint8 flags