Unlocking Secrets with Items in Fortnite Creative
Tutorial beginner

Unlocking Secrets with Items in Fortnite Creative

Updated beginner

Unlocking Secrets with Items in Fortnite Creative

Have you ever found a key that unlocks a secret door? Or picked up a gem to open a treasure chest? In Fortnite Creative, these are called Items. They are special objects that players can pick up to change how the game works. Today, we will build a "Jewel Thief" style game. You will learn how to make a door that stays locked until a player finds the right key. This is a super cool way to add puzzles to your island!

What You'll Learn

  • What Items are and how they are different from regular props.
  • How to use a Conditional Button to check if a player has an item.
  • How to link items to devices to create puzzles.
  • How to place items in the world for players to find.

How It Works

Imagine you are playing a video game. You see a shiny red box. If you walk into it, you might get a health pack. That box is an Item. Items are special because the game knows exactly what they are. You can tell the game to check if a player has that item.

We will use a device called a Conditional Button. Think of this button like a security guard. The guard only lets you pass if you show them a specific pass. In our game, the "pass" is an Objective Item (like a jewel or a key).

Here is the plan:

  1. We place a door that is locked.
  2. We place a Conditional Button next to the door.
  3. We tell the button: "Only open the door if the player has the Jewel."
  4. We hide the Jewel somewhere in the island.

When a player picks up the Jewel, the game remembers it. When they walk up to the door, the button checks their bag. If the Jewel is there, the door opens! If not, the door stays shut. This makes your island feel like a real adventure with secrets.

Let's Build It

Let's build a simple puzzle room. We will use the Conditional Button device. This device is very powerful. It can check for many things, but today we only care about one thing: does the player have the item?

Step 1: Set Up Your Room

  1. Go to the Creative tab in UEFN.
  2. Place a Door device on the ground.
  3. Place a Conditional Button device next to the door.
  4. Make sure the door is set to Locked at the start. You can do this in the device settings under "Initial State."

Step 2: Connect the Devices

This is where the magic happens. We need to tell the devices how to talk to each other.

  1. Click on the Conditional Button.
  2. Look at the Settings panel on the right.
  3. Find the section called Input/Output.
  4. We want to use the button to open the door. So, we will connect the button's Output to the door's Input.
    • In UEFN, you can drag a line from the button's output pin to the door's input pin. Or, in the settings, you can select the door as the target.
  5. Now, we need to tell the button what to check for.
  6. In the Conditional Button settings, find Condition.
  7. Select Has Item.
  8. Now, choose the item you want to use. Let's pick the Jewel (or any objective item like a key or gem).

Step 3: Place the Item

Now the door knows what to look for. But the player needs to find it!

  1. Go to the Content Browser.
  2. Find the Items category.
  3. Drag the Jewel (or your chosen item) into your island.
  4. Place it somewhere tricky. Maybe hide it behind a rock, or on top of a high wall. This makes the player explore!

Step 4: Test Your Game

  1. Play your island.
  2. Walk up to the door. It should be locked. The Conditional Button won't do anything because you don't have the Jewel yet.
  3. Go find the Jewel. Pick it up.
  4. Run back to the door.
  5. Walk into the door or trigger the button. It should now open!

You just built a puzzle that uses game logic! You used an item to change the state of the world.

// This is a simple explanation of the logic.
// In UEFN, you mostly use the visual device connections,
// but here is how the code thinks:

// 1. The Game checks the player's inventory.
if (Player.HasItem(Jewel)) {
    // 2. If the player has the Jewel...
    Door.Open();
    // 3. ...then open the door!
} else {
    // 4. If the player does NOT have the Jewel...
    Door.Lock();
    // 5. ...keep the door locked.
}

Try It Yourself

You did it! You built a locked door that only opens with a key. Now, try this challenge:

Challenge: Add a second door that requires a different item. Maybe a blue key for one door and a red key for another.

Hint: You will need two Conditional Buttons and two different items. Make sure each button is set to check for a different item!

Recap

Items are special objects that players can pick up. Devices like the Conditional Button can check if a player has an item. By linking them, you can create puzzles where players must find items to unlock doors. This makes your island fun and interactive. Great job, creator!

References

  • https://dev.epicgames.com/documentation/en-us/fortnite/using-items-in-fortnite-creative
  • https://dev.epicgames.com/documentation/en-us/fortnite-creative/using-items-in-fortnite-creative
  • https://dev.epicgames.com/documentation/en-us/fortnite-creative/exploring-the-content-browser-menu-in-fortnite-creative
  • https://dev.epicgames.com/documentation/en-us/fortnite/exploring-the-content-browser-menu-in-fortnite-creative
  • https://dev.epicgames.com/documentation/en-us/fortnite-creative/using-crafting-items-in-fortnite-creative

Verse source files

Turn this into a guided course

Add using-items-in-fortnite-creative to your free study plan — we'll suggest related pages and stitch the lot into one compile-checked, self-guided lesson with worked examples and quizzes.

Original tutorial generated by Verse Island from the Verse/UEFN knowledge base, with references to the Epic Games sources above. Code is validated against the knowledge base.

Comments

    Sign in to vote, comment, or suggest an edit. Sign in