Lesson 5: Practice Time!
Lesson 5: Practice Time!
Still got your Verse code open? Good!
Still got your Verse code open? Good!
For this exercise, you’re going to call functions that will actually damage your Fortnite character, as promised all the way back in Lesson 3: Practice Time!
Before you start coding, you will need to add a device to your UEFN island. It's called the Player Spawner and it causes your player character to spawn at the location of the device instead of in the air, which is the default spawn location for Fortnite. In order for the code in this exercise to work, the Player Spawner is required.
To learn how to place the Player Spawner device, see Object Placement in UEFN Controls for Creative Users. Feel free to place it anywhere on your island.
Some of the code you'll use in this exercise will be new to you, but you'll have a chance to review what each line is doing. Don’t worry if you don’t understand it all right now. This practice is just about calling functions.
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.