Verse Library verse

03 Fragment

Activates a launch prop, pauses execution, then triggers a pit prop after a timed delay.

verse-library/place-a-volume-device/03-fragment.verse

OnPlayerEntered<suspends>(Agent : agent) : void =
    LaunchProp.Activate(Agent)
    Sleep(1.5)   # wait 1.5 seconds before the pit drops
    PitProp.Activate(Agent)

Comments

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