Fearinhell
Member
So I have been working on my game for 2.5 years and Im trying to bring this inventory system in. I have ground clothing objects that the player can pick up, I want to attach the code to my code so the player picks up the item and does my custom code AND will add the item to the inventory. Reading the instructions and watching some videos Im getting a very basic understanding of this sytem now. My question is how do I make this line of code work?
The m_Inventory is missing what it needs. What is the code to match up with this add item to inventory code? Thanks
Code:
m_Inventory.AddItem("BlackNightie", 1);
The m_Inventory is missing what it needs. What is the code to match up with this add item to inventory code? Thanks