Verse Library verse

15 Switching Cameras

Checks TV mode state and disables it by stopping sequences and resetting camera indices.

extracted-snippets/documentation/fortnite/verse-standup-comedy-club-template-in-unreal-editor-for-fortnite/15-switching-cameras.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:    Switching Cameras
# If we are currently viewing from TV Mode, end that sequence and clear associated values.
if (InTVMode?):
TVModeSequence.Stop(Agent)
set InTVMode = false
set CurrentCameraIndex = -1

Comments

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