Page MenuHomeFeedback Tracker

Idea: add ability to verify weight & volume constraints of prefabs for storage components
Reviewed, NormalPublic

Description

It would be nice to have an equivalent to SCR_UniversalInventoryStorageComponent::CanStoreItem for a given ResourceName instead of an IEntity. I'd like to check if an item can fit in a players inventory before spawning the item in the world.

This would also be useful for InventoryStorageManagerComponent::CanInsertItem() and InventoryStorageManagerComponent::CanInsertItemInStorage()

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General

Event Timeline

Plato created this task.Jan 13 2023, 2:41 AM
Plato updated the task description. (Show Details)
Plato updated the task description. (Show Details)Jan 13 2023, 3:43 AM
Plato updated the task description. (Show Details)
Geez changed the task status from New to Reviewed.Jan 13 2023, 9:13 AM
Geez added a subscriber: Geez.Sep 8 2023, 2:06 PM

Hello Plate.
We have been looking into this.
Are we correct in thinking that this will need to be available/iméplemented for the following?:

  1. AttachmentsStorageComponent
  2. ClothNodeStorageComponent
  3. EquipedLoadoutStorageComponent
  4. EquipedWeaponStorageComponent
  5. EquipmentStorageComponent
  6. UniversalInventoryStorageComponent
  7. WeaponAttachmentsStorageComponent

Anywhere you can call "CanStoreItem".