Verse Library verse

06 Snippet

Declares editable creative devices and variables to structure team elimination gameplay at design time.

extracted-snippets/documentation/en-us/fortnite/team-elimination-2-finding-devices-at-runtime-in-verse/06-snippet.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/team-elimination-2-finding-devices-at-runtime-in-verse
# Local doc:  epic-docs/documentation/en-us/fortnite/team-elimination-2-finding-devices-at-runtime-in-verse.md
team_elimination_game := class(creative_device):
@editable
EndGameDevice : end_game_device = end_game_device{}
@editable
var WeaponGranters : []item_granter_device = array{}
@editable
var PlayerSpawners : []player_spawner_device = array{}
@editable
var Sentries : []sentry_device = array{}
var EliminationsToEndGame : int = 0
var Teams : []team = array{}

Comments

    Sign in to vote, comment, or suggest an edit. Sign in