Morrowind Mod:OnPCSoulGemUse

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

OnPCSoulGemUse

                OnPCSoulGemUse

        Type:   Inventory, Variable

     Returns:   short

     Example:   short OnPCSoulGemUse
                if ( OnPCSoulGemUse == 1 )
                        Player->additem, "Misc_soulgem_Azura", 1
                endif

     Scripts:   AzuraStarScript

Not a function but must be defined as a short variable to be used. When defined, it will be set to 1 when the player uses a soul gem for enchanting or recharging an item. Should be manually reset if you wish to check for additional soul gem uses.