2. Finding Devices at Runtime
2. Finding Devices at Runtime
This section shows how to find the devices at runtime that you set up earlier.
This section shows how to find the devices at runtime that you set up earlier.
-
Open Verse Explorer and double-click team_elimination_game.verse to open the script in Visual Studio Code.
-
At the top of the file:
- Add
using { /Fortnite.com/Game }to reference theelimination_resultstruct. - Add
using { /Fortnite.com/Characters }to use theGetFortCharacter[]API.
| | using { /Fortnite.com/Characters } | | --- | --- | | | using { /Fortnite.com/Devices } | | | using { /Fortnite.com/Game } | | | using { /Fortnite.com/Teams } | | | using { /Verse.org/Simulation } | Copy full snippet - Add
-
In the
team_elimination_gameclass definition, add the following fields:
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.