Verse Library verse

02 Adding The Verse Scripts

Defines a search and destroy game mode class, wiring creative devices and tracking the bomb disarm state.

extracted-snippets/documentation/en-us/fortnite/verse-detonation-template-in-unreal-editor-for-fortnite/02-adding-the-verse-scripts.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/verse-detonation-template-in-unreal-editor-for-fortnite
# Local doc:  epic-docs/documentation/en-us/fortnite/verse-detonation-template-in-unreal-editor-for-fortnite.md
# Section:    Adding the Verse Scripts
search_and_destroy := class(creative_device):
Logger:log = log{Channel:=log_search_and_destroy}
@editable
TimedObjectiveA: timed_objective_device = timed_objective_device{}
@editable
TimedObjectiveB: timed_objective_device = timed_objective_device{}
@editable
ExplosiveBarrelsA: []explosive_device = array{}
@editable
ExplosiveBarrelsB: []explosive_device = array{}
@editable
EndGameDevice: end_game_device = end_game_device{}
@editable
BombAMapIndicators: []map_indicator_device = array{}
@editable
BombBMapIndicators: []map_indicator_device = array{}
@editable
BombABeaconArm: beacon_device = beacon_device{}
@editable
BombABeaconDisarm: beacon_device = beacon_device{}
@editable
BombBBeaconArm: beacon_device = beacon_device{}
@editable
BombBBeaconDisarm: beacon_device = beacon_device{}
var BombState:bomb_state = bomb_state.AllUnarmed

Comments

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