Int32[] GetChaptersRandomOrder(int inChapterIndex)
Description
Returns an array of the sub-chapters indexes in the random order they were displayed when the main chapter is set to randomize sub-chapters using the UI.
Parameters
The following is a list of parameters the functions receives
Parameter | Type | Description |
---|---|---|
inChapterIndex | Int | Main Chapter Index |
Return Type
Int32[]
Examples
If chapter 4 includes 3 sub chapters and this chapter is set to be randomized, to retrieve the randomization order you should use the function
GetChaptersRandomOrder(4)
this will return an array such as: 4,2,1,3
Comments
Please sign in to leave a comment.