This time, I'm trying to get a chest working. The idea is that the player should first find a key to open it, so that it can spawn a random selection of items.
What I tried as a prototype:
Spoiler:This version of the crate completely freezes my game after being spawned. I also did another version as a CustomInventory Actor, but the A_JumpifCloser(196,"KeyCheck") was not performed, so I assumed that before the actor could even make the jump, it has to target the player... but I'm not getting anywhere with this.