Morrowind Mod:OnPCEquip

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


OnPCEquip

                OnPCEquip

        Type:   Inventory, Variable

     Returns:   short

     Example:   short OnPCEquip
                if ( OnPCEquip == 1 )
                        set OnPCEquip to 0
                endif

     Scripts:   bladeScript
                disguisedArmor

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 equips the item, and remain 1 while the player has it equipped (unless manually reset) and is 0 otherwise.