The Capture Area device can be used in several ways. It can generate points for the player who is within its area or in a team game it can be used as locations to be conquered. Another option is to define a specific item that the player needs to have to capture the area. For example, the opposing team's flag in a game of capture the flag.
Our game will have 5 Capture Areas. The number of Capture Areas enabled corresponds to the current round. For example, Round 3 will have 3 Capture Areas enabled.
The player needs to stay inside the Capture Area for 5 seconds to capture it. The current round will end when the player captures all enabled Capture Areas.
Let's add a Capture Area and make the necessary changes. Then we will make 4 copies of the Capture Area to take advantage of the configuration that was made.
Go to the Content Drawer and the Fortnite > Devices folder. Search by area. Drag the Capture Area device and drop it onto the level on the same grid line as the Player Spawner, leaving an empty grid position between them.
In the Details tab, change the Capture Radius property to 0.5:
Change the Score on Taking Control property to 1. If we leave this property at 0, the Capture Area will not trigger the event that we will use in the Verse code.
The last properties that need to be changed are:
- Can be Captured by Team with the Team Index option and value 1.
- Control Time with a value of 5 seconds. Indicates the time needed to capture the area.
Make 4 copies of the Capture Area. You can duplicate a selected object in the Viewport by holding the Alt key and dragging one of the axis arrows.
Place Capture Areas 2 and 3 on the grid line closest to the Player Spawner and Capture Areas 4 and 5 on the grid line above the first Capture Area:
In the next article we will create the 1st version of the Verse device that will reference the Capture Areas and the End Game device.