Issue Data
|
Issue #23259: MS17PennyShopTriggerScript: (000537E4): cannot enable a deleted object
12/03/2017 - 11:47:50PM] error: Item 1 in container (000537E4): cannot enable a deleted object.
stack: [Item 1 in container (000537E4)].ObjectReference.Enable() - "<native>" Line ? [ (000E92AD)].MS17PennyShopTriggerScript.OnTriggerLeave() - "g:\_F4\Art\Raw\Scripts\MS17PennyShopTriggerScript.psc" Line 21 |
Related Issues: 24277
There's not much we can do here scripting-wise. The whole concept of handling the shop key is borked:
The developers apparently wanted to make it appear as if Penny leaves her shop key on a table (inside the shop) while she's in, and pick it up again when she leaves. For this purpose, they use two copies of the key: one is always in Pennys inventory, while the other one is always on the table. When Penny enters the shop, the script on the shop trigger anables the key on the table and is supposed to disable the key in her inventory (otherwise, the player might find a second key whiile pickpocketing); when she leaves, it is the other way around: the script disables the key on the table and is supposed to enable the key in her inventory.
Of course, enabling/disabling a reference in a container does not work. It never does.
The developers apparently wanted to make it appear as if Penny leaves her shop key on a table (inside the shop) while she's in, and pick it up again when she leaves. For this purpose, they use two copies of the key: one is always in Pennys inventory, while the other one is always on the table. When Penny enters the shop, the script on the shop trigger anables the key on the table and is supposed to disable the key in her inventory (otherwise, the player might find a second key whiile pickpocketing); when she leaves, it is the other way around: the script disables the key on the table and is supposed to enable the key in her inventory.
Of course, enabling/disabling a reference in a container does not work. It never does.
Comment #1 Apr 8, 2018 11:55 am
Edited by BlackPete on Jan 22, 2020 5:48 am
Showing Comments 1 - 1 of 1