Verse Library verse

06 2 Finding Devices At Runtime

Defines the primary creative device class and declares editable device references with initial state variables.

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

# Source URL: https://dev.epicgames.com/documentation/en-us/uefn/team-elimination-game-2-finding-devices-at-runtime-in-verse
# Local doc:  epic-docs/documentation/en-us/uefn/team-elimination-game-2-finding-devices-at-runtime-in-verse.md
# Section:    2. Finding Devices at Runtime
  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{}
Copy full snippet

Comments

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