Verse Library verse

01 Fragment

Plays a cinematic sequence followed by synchronized animation and emote triggers for scripted shows.

verse-library/verse-skel-grand-reveal-capstone/01-fragment.verse

# Orchestrate a multi-beat show on one timeline with a <suspends> function.
RunReveal()<suspends> : void =
    Cine.SetPlaybackTime(0.0)
    Cine.Play(Agent)              # beat 1: the camera flythrough
    Cine.StoppedEvent.Await()     # WAIT here until the sequence ends
    Statue.Play()                 # beat 2: the skeletal mesh performs
    Sleep(3.0)                    # let it run for 3 seconds
    Mannequin.PlayEmote()         # beat 3: the host bows

Comments

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