Wowpedia
Advertisement
Game Flavors
Links
Patch
Added in 1.0.0 / 1.13.2

Returns the page number of the currently displayed page.

pageNum = ItemTextGetPage()

Parameters

Returns

pageNum 
Number - The page number of the currently displayed page, starting at 1.

Details

This is used one the ITEM_TEXT_READY event has been received for a page.
Note that there is no function to return the total number of pages of the text, it must be found by iterating through until ItemTextHasNextPage returns nil.
Advertisement