Open main menu

UESPWiki β


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.