Open main menu

UESPWiki β



        Type:   Inventory, Variable

     Returns:   short

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

     Scripts:   AzuraStarScript

Not a function but must be defined as a short variable in order 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.