Verse Library verse

01 Fragment

Automatically places wildlife at defined locations when the game begins.

verse-library/using-wildlife-spawner-devices-in-fortnite-creative/01-fragment.verse

# This is a simple template for a wildlife spawner
# It handles the spawning logic automatically

using { /Fortnite.com/Devices }

# This function runs when the game starts
OnBegin<override>()<suspends>: void =>
    # The device picks a Boar from its list
    # It places the Boar at its location
    # It waits for the Respawn Time before doing it again
    SpawnAnimal(Boar)

Comments

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