Download

Filtering TSubclassOf Items

I’ve created an Object class for my world items and an actor component class for an inventory.

In the Object class is an Enum to define what type of object it is (dropped, craft, trade etc.).

Is there any way (in BP or C++) that when I put the inventory class on an NPC and add the TSubclassOf items to filter them at design time so, for example, only those items marked as “dropped” show up on the enemy NPCs and only items marked as “trade” show up on a trader?