Aller au contenu

Photo

[REQUEST] Locked Chest with Key Tutorial


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
R3v3r3nD420

R3v3r3nD420
  • Members
  • 44 messages
Was wondering if anyone has this knowledge and would be willing to post a tutorial?

The scenario I am specifically looking for is there is a locked chest near an npc. After completing a quest, she gives you the key to the chest through dialogue.

I have most of the elements done, but my chest always spawns unlocked even with its Initial State set to "Closed - Locked" in the placeables properties. And because of this, I am unable to test to see if the key will even work to unlock it. Is there somewhere in the properties that I am over-looking for this? Does it need to be scripted?

I am sure there are others that could benefit from a tutorial explaining this. Please help!

#2
R3v3r3nD420

R3v3r3nD420
  • Members
  • 44 messages
I think I figured out my problem. My guess is I couldnt have the chest be locked because I was spawning it into an OC area (player camp) via a script. Works just fine if I put the chest in an area I created via the area editor.