Start Ambush
Classes
Section titled “Classes”StartAmbush
Section titled “StartAmbush”Defined in: packages/isaacscript-common/src/classes/features/other/StartAmbush.ts:15
Extends
Section titled “Extends”Feature
Methods
Section titled “Methods”startAmbush()
Section titled “startAmbush()”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.
Returns
Section titled “Returns”void
