Skip to content

Run Next Room

Defined in: packages/isaacscript-common/src/classes/features/other/RunNextRoom.ts:12

  • Feature

vConditionalFunc(): boolean

Defined in: packages/isaacscript-common/src/classes/features/other/RunNextRoom.ts:25

boolean

Feature.vConditionalFunc

runNextRoom(func): void

Defined in: packages/isaacscript-common/src/classes/features/other/RunNextRoom.ts:46

Supply a function to run on the next POST_NEW_ROOM callback.

Note that this function will not handle saving and quitting. If a player saving and quitting before the deferred function fires would cause a bug in your mod, then you should handle deferred functions manually using serializable data.

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

() => void

void