Tes3Mod:OnPCAdd

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


OnPCAdd

                OnPCAdd

        Type:   Inventory, Variable

     Returns:   short

     Example:   short OnPCAdd
                if ( OnPCAdd == 1 )

     Scripts:   CharGenStatsSheet
                CharGen_ring_keley

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 adds the calling item to their inventory. Should be manually reset if you wish to check for additional item additions.