Don't grab a chair, grab a lock pick!

The premise of grabbing a chair and table to push down an invisible pressure plate is boring. I want to add a lock pick 3d model on my dead skeleton guy (he couldn’t escape!) and have the player use the lock pick to open a “mini game” like Skyrim’s lock pick system in order to open the door. My thought were to move the trigger box directly under the door, overlapping both sides, so when the pawn is on it, it will open for them, but then create a script that disables the “open door” script until the player 1) has the lock pick, and 2) has completed the lock pick mini game. I know this is ridiculously ambitious at this stage of the course, but laying out the ground work and finishing it later wouldn’t be unreasonable, would it?

add to the “OpenDoor” method, “PlayerHasPick”

if (PlayerHasPick = true)
{
return true;
}
else
{
return false;
}

Something like that to make sure the player has the lock pick before the door will even consider opening. For the mini game, there would be 2D GUI, which is beyond me, but has to be possible.

2 Likes

Privacy & Terms