|
Post by Chronicman on Jan 4, 2017 17:10:38 GMT
Weird I cant find it in my vItemManager, Did you try using ? vItemManager.instanace.LeaveItem(vItemManager.instance.itemListData[10], 1);
The reason your getting this I think is that vItem is a scriptable object, an asset used to store data. I think that its trying to destroy the asset and causing data loss so its trowing this error.
Example: I use this to clear the items in the inventory before loading.
// Clear Starting Items for (int i = 0; i < vItemManager.instance.items.Count; i++) { vItemManager.instance.LeaveItem(vItemManager.instance.items[i] , vItemManager.instance.items[i].amount); } PS. instance maybe private you may need to change it to public.
and this works fine for me.
|
|
|
Post by angelsm on Jan 4, 2017 23:19:56 GMT
Weird I cant find it in my vItemManager, Did you try using ? vItemManager.instanace.LeaveItem(vItemManager.instance.itemListData[10], 1); The reason your getting this I think is that vItem is a scriptable object, an asset used to store data. I think that its trying to destroy the asset and causing data loss so its trowing this error. Example: I use this to clear the items in the inventory before loading. // Clear Starting Items for (int i = 0; i < vItemManager.instance.items.Count; i++) { vItemManager.instance.LeaveItem(vItemManager.instance.items[i] , vItemManager.instance.items[i].amount); } PS. instance maybe private you may need to change it to public. and this works fine for me.GetItem appears into this post: invector.proboards.com/post/1847/threadI'm going to check what you're saying. GuardarGuardar
|
|
|
Post by uberwiggett on Jan 7, 2017 2:55:06 GMT
Demonstration time!
I chose not to select the female character as my avatars don't yet have clothes and I didn't want to get it banned on youtube :D
But seriously if you have Easy Save 2, this integration is great.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jan 7, 2017 2:59:49 GMT
Awesome!!!! I should get easy save 2 lol
|
|
|
Post by jrackley on Jan 7, 2017 6:14:56 GMT
Looking Nice!
|
|
|
Post by Chronicman on Jan 7, 2017 21:37:52 GMT
Love it, =)
|
|
|
Post by Chronicman on Jan 7, 2017 21:39:14 GMT
Awesome!!!! I should get easy save 2 lol This update only really works with the Rpg pack. I will go back at later date and update another version for non Rpg.
|
|
|
Post by angelsm on Jan 12, 2017 10:29:26 GMT
Weird I cant find it in my vItemManager, Did you try using ? vItemManager.instanace.LeaveItem(vItemManager.instance.itemListData[10], 1); The reason your getting this I think is that vItem is a scriptable object, an asset used to store data. I think that its trying to destroy the asset and causing data loss so its trowing this error. Example: I use this to clear the items in the inventory before loading. // Clear Starting Items for (int i = 0; i < vItemManager.instance.items.Count; i++) { vItemManager.instance.LeaveItem(vItemManager.instance.items[i] , vItemManager.instance.items[i].amount); } PS. instance maybe private you may need to change it to public. and this works fine for me.
Yes, it works! The item (a weapon) is removed from the inventory but I don’t get remove the icon in the Equipment Display Window if the weapon is in use. How can I do it? GuardarGuardar
|
|
|
Post by Chronicman on Jan 12, 2017 17:16:34 GMT
The function "LeaveItem" should do this if the amount is = to 0. otherwise it will remain
|
|
|
Post by angelsm on Mar 19, 2017 18:46:53 GMT
Hi Chronicman ! Have you actualized the code for Melee Combat v2.1a? I've upgraded it and the console shows several errors in InventorySaverAddon.
|
|
|
Post by tharindu on Apr 5, 2017 2:59:20 GMT
Is it just me or has Easy Save 2 been taken off the asset store ?
|
|
|
Post by jrackley on Apr 5, 2017 3:13:47 GMT
Is it just me or has Easy Save 2 been taken off the asset store ? here is the link. It is EasySave2 as far as I know www.assetstore.unity3d.com/en/#!/content/768
|
|
|
Post by dreadlord on Apr 5, 2017 4:11:53 GMT
Yes, its the one from moodkie
|
|
|
Post by tharindu on Apr 5, 2017 7:01:18 GMT
Is it just me or has Easy Save 2 been taken off the asset store ? here is the link. It is EasySave2 as far as I know www.assetstore.unity3d.com/en/#!/content/768 Hehe that doesn't work. I got it from the first post in this thread.
|
|
|
Post by dreadlord on Apr 5, 2017 10:13:46 GMT
It does work. But its very likely that the version from page 1 is broken.
|
|