;Summon containerSet rYourContainer to Player.PlaceAtMe YourContainerCONT 1YourContainerREF.RemoveAllItems rYourContainerrYourContainer.SetOwnershiprYourContainer.Activate Player;Unsummon containerrYourContainer.RemoveAllItems YourContainerREFrYourContainer.DisableSet rYourContainer to 0
Begin GameMode If GetDisabled DeleteReference ; requires OBSE EndIfEndJust be sure to never disable YourContainerREF or it'll crash.