Game ReferenceGame Global FunctionsChapterGetOn this pageChapterGet Description Returns the current chapter number. The number matches the in-game display but is zero-based (e.g., chapter 1 is returned as 0). function ChapterGet() --[[ ... ]] end Parameters None. Return Values chapter: integer - The current chapter number, zero-based. Example None.