Verse Library verse

12 Triggering The Sequence

Executes once on device spawn to log startup and subscribe to the chair seating event.

extracted-snippets/documentation/fortnite/verse-standup-comedy-club-template-in-unreal-editor-for-fortnite/12-triggering-the-sequence.verse

# Source URL: https://dev.epicgames.com/documentation/fortnite/verse-standup-comedy-club-template-in-unreal-editor-for-fortnite
# Local doc:  epic-docs/documentation/fortnite/verse-standup-comedy-club-template-in-unreal-editor-for-fortnite.md
# Section:    Triggering the Sequence
# Runs when the device is started in a running game.
OnBegin<override>()<suspends>:void =
Logger.Print("Standup Template device started")
TheChair.SeatedEvent.Subscribe(OnSeated)

Comments

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