Toby Thomson
started a topic on Sat, 21 March 2015 at 10:18 AM
Hi PlayFab,
I am at my wits end here. I have been trying to implement an equipped feature into my game. I have previously posted on this and I was pointed in the right direction however I just cannot see how one is meant to implement this. Basically if I have two items of class lets say vegetable, and I only want to have one vegetable equipped at a time in my game while still owning both. How am I to know which is equipped. Last time I asked this I was told to create a property on both items called "Equipped" and then set that to true or false for each item in a players inventory. However I don't think I can set custom properties individual of each instance of an item. In short is there a way to make some items equippable so that a user can have two items of the same type in their inventory but only have one equipped at a time?
My final question on this subject is that if I can create equippable items how would go abut making it so that when I equip an item of a certain class all the other items of that class in my inventory would be unequipped?
Thanks in advance
Toby