Tes3Mod:HasItemEquipped

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


HasItemEquipped

                HasItemEquipped, ObjectID

       Where:   ObjectID = Object to check being equipped on the calling actor.

        Type:   Object, Tribunal

     Returns:   short

     Example:   if ( HasItemEquipped, "ebony spear" == 1 )
                if ( player->HasItemEquipped, fireblade != 0 )
                if ( "alvis teri"->HasItemEquipped, "expensive_belt_01" == 1 )

     Scripts:   Not Used

Returns 1 if the given item is currently equipped on the calling actor, or 0 otherwise.