How can I reset a player's inventory when they leave the session in Fortnite UEFN, without saving it between sessions?

You could use an item_remover_device from Verse to clear their inventory.

Here’s what it looks like in my code.

    @editable IN_Remove_All : item_remover_device = item_remover_device{}

    # Clear inventory.
    Clear_Inventory(Agent : agent) : void =
        IN_Remove_All.Remove(Agent)

And the item remover config.

1 Like