Skip to content

Start Ambush

Defined in: packages/isaacscript-common/src/classes/features/other/StartAmbush.ts:15

  • Feature

startAmbush(): void

Defined in: packages/isaacscript-common/src/classes/features/other/StartAmbush.ts:38

Helper function to start a Challenge Room or the Boss Rush.

Specifically, this is performed by spawning a sack on top of the player, waiting a game frame, and then removing the sack and the pickups that the sack dropped.

In order to use this function, you must upgrade your mod with ISCFeature.START_AMBUSH.

void