Cheapshampoo
New member
Thanks for taking time to look at my question. I'm wondering a good way to check if nothing is in a slot. I'm not sure how to write it. I have this.
When I run that with nothing in slot I get this from print.
0 Item is NULL || ItemCollection(Main) Helm Inventory Collection || ItemStack(-1360789048)[ 0 Item is NULL in ItemCollection(Main) Helm Inventory Collection]
How can I call that return null?
var HelmItemCollection = Helm_Inventory.GetItemCollection(0) as ItemSlotCollection;
var EquippedHelm = HelmItemCollection.GetItemInfoAtSlot(0);
if (EquippedHelm != null)
print(EquippedHelm);
{
Do Stuff
}
When I run that with nothing in slot I get this from print.
0 Item is NULL || ItemCollection(Main) Helm Inventory Collection || ItemStack(-1360789048)[ 0 Item is NULL in ItemCollection(Main) Helm Inventory Collection]
How can I call that return null?