Morrowind Mod:GetJournalIndex

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search


GetJournalIndex

                GetJournalIndex, JournalID

       Where:   JournalID = ID of player's journal to retrieve

        Type:   Dialogue

     Returns:   short

     Example:   if ( GetJournalIndex, MG_StolenReport > 0 ) 
                if ( GetJournalIndex "MS_WhiteGuar" <= 50 )

     Scripts:   ajiraReports
                anoScript

This function returns the index of the highest (or the last?) journal entry for that journal topic that the player has received. Use this to keep track of the player's current location in the quest and for scripting specific events according to the quest.