src/scene/shared/actor_attach.c
Included by mars_lighthouse_hall.c, mars_lighthouse_star_room.c and mars_lighthouse_towers.c.
Functions
| Name | Description | |
|---|---|---|
void | scActorAttach (Sint32 srcId, Sint32 id, Sint32 launchedId, Sint32 launchFacing, const void *script) | Puts actor id on actor srcId and starts its script; at the script's end it launches actor launchedId ahead of it, facing launchFacing (scActorPark). |
Functions in detail
scActorAttach
void scActorAttach(Sint32 srcId, Sint32 id, Sint32 launchedId, Sint32 launchFacing, const void *script)
Puts actor id on actor srcId and starts its script; at the script's end
it launches actor launchedId ahead of it, facing launchFacing
(scActorPark).
References fdActorGet(), fdActorSelectAnimation(), fdActorSetSpriteFlags(), fdActorStartScript(), scActorHoldDuringScript(), scFieldActorSetPosAndResetMotion() and Sint32.
Referenced by scMarsLighthouseEntranceShootBalmFireball(), scMarsLighthouseEntranceShootDragonFaceLowerFireball(), scMarsLighthouseEntranceShootDragonFaceUpperFireball(), scMarsLighthouseEntranceShootFireballAtHiddenCircleIceSheet(), scMarsLighthouseEntranceShootFireballAtIceSheet(), scMarsLighthouseEntranceShootFireballThroughIce(), scMarsLighthouseStarRoomShootFireballs(), scMarsLighthouseTowersDropFireball(), scMarsLighthouseTowersShootFireballAtIcebergs() and scMarsLighthouseTowersShootFireballAtWall().
Definition at line 4 of file actor_attach.c.