Inventory Component in Fortnite
The inventory_component is a Scene Graph component used as a container for Items. For how to add a component to your entity, see Working with Entities and Components.
Entities are only considered items if they have an item_component. Without one, entities are not added to inventories properly and Custom Items and Inventory functionality may break.
- References to an “item” are referring to an entity with an
item_component. - References to “inventories” are referring to an entity with an
inventory_component.
Class Description
An inventory_component turns an entity into a container for items.
The entity could be a player, a treasure chest, or anything that can hold items.
By default an inventory can hold an infinite number of any kind of item. Through Verse you can write logic inside the component to create restrictions and custom behaviors so an inventory can be tailored to your experience.
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.