Verse Library verse

01 Fragment

Detects player collision with a ledge and applies an upward impulse to launch them into the air.

verse-library/using-placeable-ledge-devices-in-fortnite-creative/01-fragment.verse

# This script makes a ledge launch players high
# It uses the 'Placeable Ledge' device

# We define the device here
my_ledge := Placeable_Ledge{}

# When a player hits the ledge
on Player_Hit_Ledge(player) =>
    # We tell the ledge to launch them
    # The number 500 is how high they fly
    my_ledge.Launch(player, 500)

Comments

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