Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

[Answered] Using ChapterID

17 years ago
You know how you can know the page number you are on by using $PAGEID?

Is there something similar to use to pull the chapter number?  I need the general page script to do different things depending on the chapter (right now, due to how the chapters are designed, I can just toggle how the page script works in a link script/item script, but it would be easier if I can set things by chapter).

[Answered] Using ChapterID

17 years ago
Yes, I believe there is a $CHAPTERID system variable, which works a lot like $PAGEID.

[Answered] Using ChapterID

17 years ago

lol, yeah try octobers suggestion it should work...

very soon i will complete the Scripting Reference article which contains every single possible command in the scripting engine to date, with a brief explanation of what it does and how to use, basically a syntax manual, the reason it was not done sooner is that alex had begun the article and i thought he would finish it, then i forgot about it... but now i will complete it for alex and have it published before the week is done...