The Loot Goblin’s Guide to Objective Items: Unlocking Your Island’s Secrets
The Loot Goblin’s Guide to Objective Items: Unlocking Your Island’s Secrets
So, you’ve placed a few walls and maybe spawned some bots, but your island feels a bit… static. It’s just there. You want players to do something. You want them to hunt, grab, and unlock. Enter Objective Items. These aren’t just shiny props; they are the keys to your island’s logic. Think of them as the "MacGuffin" in a movie—the thing everyone wants, and once you have it, the plot (or in this case, your trap door) finally moves.
In this tutorial, we’re going to build a simple "Jewel Thief" style mechanic where players have to grab a specific item to unlock a VIP area. No coding required yet, just pure UEFN logic.
What You'll Learn
- What Objective Items are: Why they’re different from regular loot (like a shield potion).
- The "Key" Concept: How items act as digital keys to trigger devices.
- Building the Loop: Setting up a spawner, a grab-able item, and a locked door.
- The Scene Graph Connection: Understanding how the item in your hand talks to the door in the wall.
How It Works
In Fortnite Creative, most items you pick up are consumables or weapons. You drink a potion, you shoot a gun. But Objective Items (like the Jewel, Flags, or various Keycards) are special. They are designed to be tracked.
Imagine a Variable (a box that holds a value, like your health or ammo count). When you pick up a regular item, the "Health" variable goes up. When you pick up an Objective Item, a different, invisible variable flips from False to True. It’s like checking a box on a to-do list.
Here is the gameplay loop we are building:
- The Setup: A door is locked. It has a "Requirement" set to "Has Objective Item."
- The Hunt: An Item Spawner drops a Jewel (an Objective Item) somewhere on the map.
- The Grab: A player picks up the Jewel.
- The Payoff: The door sees the player now "has" the Jewel and unlocks.
It’s the same logic as needing a specific keycard to enter the Authority HQ, but now you are the one holding the keycard.
Let's Build It
We aren't writing Verse code for this one. Why? Because UEFN’s device system is powerful enough to handle this logic visually. We will use the Item Spawner, the Conditional Button (or a Lock/Door with requirements), and the Jewel item.
Step 1: The Prize (The Objective Item)
First, we need the thing to steal.
- Press
Tabto open the Device Editor. - Go to the Creative tab on the left.
- Select Objective from the list.
- Drag out an Objective Device (specifically the Jewel or a Keycard). Place it on the ground.
- Pro Tip: You can also just drag the Jewel item from the Items category in the Content Browser if you want it to look like a standard inventory item. For this tutorial, let's use the Jewel from the Items category, as it’s the classic "Jewel Thief" item.
Step 2: The Spawner
Players need to be able to get it.
- In the Device Editor, go to Gameplay > Item Spawner.
- Place it near where your Jewel is.
- Select the Item Spawner. In the Details panel on the right:
- Item: Set this to Jewel (or the specific Keycard you chose).
- Amount: 1.
- Respawn Time: Set this to
0if you want it to be a one-time grab, or60if you want it to respawn for the next round.
- Crucial Step: Make sure the Item Spawner is set to Give to Player (not just drop on ground). This ensures the player’s inventory updates correctly.
Step 3: The Gate (The Conditional Button or Lock)
Now we need something that only opens if the player has the Jewel.
- Build a small room with a door.
- Press
Taband place a Conditional Button inside the room, or use a Lock device on the door.- Note: The Lock device is easier for beginners. Place a Lock on the door.
- Select the Lock. In the Details panel:
- Look for Objective Item (or Requirement).
- Set it to Jewel (or the Keycard you used).
- Set State to Locked initially.
Step 4: The Connection (Scene Graph & Hierarchy)
This is where the magic happens. In the Scene Graph (the tree view of all entities in your island), you’ll see your Item Spawner, your Jewel (if it’s a placed device), and your Lock.
- Entity: The Spawner is an Entity. The Lock is an Entity.
- Component: The Spawner has a "Spawn" component. The Lock has a "Lock" component.
- Hierarchy: They aren’t parented to each other, but they are connected by Game State.
When the player picks up the Jewel, the game engine updates the Global Game State to say: "Player X has the Jewel." The Lock component is constantly polling (checking) this state. When it sees "Player X has Jewel," it triggers its own internal logic to unlock.
It’s like a storm timer: the timer counts down, and when it hits zero, the storm moves. Here, the "inventory count" hits one (the Jewel), and the door unlocks.
Step 5: Test It!
- Press Play.
- Run to the Item Spawner.
- Grab the Jewel.
- Run to the door.
- Watch it unlock.
If it doesn’t work, check two things:
- Did you set the Lock’s requirement to the exact same item name as the Spawner? (e.g., both must be "Jewel").
- Is the Item Spawner set to Give to Player?
Try It Yourself
Challenge: Make a "Revenge Trap."
- Place an Objective Item (like a Flag) in the middle of a pit.
- Surround the pit with Projectile Launchers pointed at the center.
- Use a Conditional Button connected to the Projectile Launchers.
- The Goal: The launchers should only fire if a player is holding the Flag. If they aren’t holding the Flag, the launchers are disabled.
Hint: You’ll need to use the Conditional Button’s Objective Item requirement. Set the button to Active only when the player has the Flag. Then, link the button’s Output to the Activate input of the Projectile Launchers.
Recap
Objective Items are the backbone of objective-based gameplay. They aren’t just loot; they are state-changing keys that tell devices "Hey, someone has this thing, do your thing!" By pairing an Item Spawner with a Lock or Conditional Button, you create a simple but satisfying loop of hunt, grab, and unlock. It’s the simplest form of game logic, and it’s incredibly powerful.
References
- https://dev.epicgames.com/documentation/en-us/fortnite/using-objective-items-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/exploring-the-content-browser-menu-in-fortnite-creative
- https://dev.epicgames.com/documentation/en-us/fortnite/using-objective-devices-in-fortnite-creative
- https://dev.epicgames.com/documentation/en-us/fortnite/onboarding-sample-island-in-fortnite-creative
Turn this into a guided course
Add using-objective-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.
References
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.