The Magic Curtain: Building an Opaque Barrier
The Magic Curtain: Building an Opaque Barrier
Do you want to surprise your friends in a 1-on-1 duel? You need a secret hiding spot! In this tutorial, you will build an Opaque Barrier. This is a special wall that blocks vision. It keeps players apart until the game starts. You will learn how to hide your base from your opponent.
What You'll Learn
- What an Opaque Barrier is and why it is useful.
- How to use the Barrier Device in UEFN.
- How to set the Barrier Material to hide things.
- How to size the barrier to fit your arena.
How It Works
Imagine you are playing hide-and-seek. You want to build a fort. But you do not want the seeker to see you building it. You need a wall that is solid. You cannot see through it. This is called opaque.
In Fortnite Creative, we use a device called the Barrier. Think of it like a giant, invisible ghost wall. You can place it anywhere. It has no holes. Players cannot walk through it. But the most important part is the Barrier Material.
If you pick a Translucent material, it is like frosted glass. You can see shapes behind it. It is not safe for secrets. If you pick an Opaque material, it is like a brick wall. It blocks all light. Your opponent cannot see your base. This makes the game fair and fun. You can build your ramp up in secret. Then, boom! You surprise them.
Let's Build It
We will build a simple 1-on-1 arena. We will put a secret wall in the middle. This wall will keep the two players apart.
Step 1: Place the Barrier Device
Open your island in UEFN. Go to the Creative Inventory. Search for "Barrier". Click Place Now. Move the device to the center of your map.
Step 2: Make it Opaque
This is the magic step! Look at the User Options panel on the right. Find the setting for Barrier Material. Click the dropdown menu. Do not pick "Translucent". Pick a solid color like Stone or Metal. This makes the wall solid.
Step 3: Size the Wall
You need to make the wall big enough. It must cover the whole path.
- Set Barrier Depth to 3. This makes it wide across the room.
- Set Barrier Height to 3. This makes it tall to the ceiling.
- Set Barrier Width to 0.5. This keeps it thin. It is just a curtain.
Step 4: Keep it Always On
Find the Enabled On Phase setting. Set it to Always. This means the wall is there even before the match starts. It keeps players in their own lanes.
Here is a simple Verse script to help you understand how devices talk to each other. We will not use complex code. We will just see how a device knows it is there.
# This is a simple Verse file.
# It shows how a device can be ready.
using { /Fortnite.com/Devices }
# We create a new device type called "SecretWall".
# This is like a blueprint for our barrier.
actor SecretWall(actor):
# This function runs when the game starts.
OnBegin<override>()<suspends>: void =>
# We print a message to the screen.
# This helps us know the wall is working.
Print("My secret wall is ready!")
# We can also change the wall color here.
# This is optional, but fun to try.
# SetMaterial("Stone")
Walkthrough
- Actor: This is a fancy word for a game object. It is like a toy figure. Your barrier is an actor.
- OnBegin: This is an Event. An event is a trigger. It happens when the game begins.
- Print: This sends a text message to the debug screen. It proves your code is running.
When you play your island, the wall will stop players from crossing. They will be stuck in their own side. When the timer starts, the wall can disappear. Or you can leave it there for a fun challenge!
Try It Yourself
Can you make two secret walls? Try placing one barrier on the left side and one on the right side. Make them both Opaque. Then, add a Timer device. Set the timer to remove the walls after 10 seconds. Now players have 10 seconds to build their forts in secret!
Hint: You can use the Timer device to trigger the barrier. Look for the "On Time's Up" event.
Recap
You built an Opaque Barrier. You learned that opaque means you cannot see through it. You used the Barrier Device to create a solid wall. You sized it to block the path. Now you can build secret bases in your Fortnite islands. Great job, creator!
References
- https://dev.epicgames.com/documentation/en-us/uefn/box-fight-3-add-devices-in-unreal-editor-for-fortnite
- https://dev.epicgames.com/documentation/en-us/fortnite/box-fight-3-add-devices-in-unreal-editor-for-fortnite
- https://dev.epicgames.com/documentation/en-us/fortnite/design-a-1v1-box-fight-in-fortnite-creative
- https://dev.epicgames.com/documentation/en-us/fortnite-creative/design-a-1v1-box-fight-in-fortnite-creative
- https://dev.epicgames.com/documentation/en-us/fortnite/pinball-wizard-in-fortnite-creative
Verse source files
- 01-fragment.verse · fragment
Turn this into a guided course
Add Opaque Barrier 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.