Tes3Mod:HasSoulGem

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


HasSoulGem

                HasSoulGem, CreatureID

       Where:   CreatureID = Creature to check for a soul gem

        Type:   Magic

     Returns:   short

     Example:   if ( Player->HasSoulGem, "atronach_storm" > 1 )
                set sValue to ( HasSoulGem, lich_relvel )

     Scripts:   SkinkSoul1
                StrongSoulCheck

Returns 1 if the calling object has the given creature's soul gem in their inventory, or 0 otherwise.