What I done, copied the container widget, then setup this new âbuy windowâ, hence adding a interface property bool for IsShop?, then on the InventoryManager added that bool and done the available logic for the container again for the shop. On events such as moving items from this shop window into the player inventory I make a transaction check (has the player enough gold, also added an InventoryItem integer for price, to check against upon transaction. Itâs a bit rough but works here. The drag and drop logic is found on the container item, here again making basic bool checks if the player has opened a shop window (instead of the default container).
thanks thats helped a lot also in page 117 for the crafting one do u know what might cause it not to fill when its on multiplayer?in single player crafting works fine but on multiplayer its brokenâŚthat fill recipies fucntion is not being called for some reason
can you explain why i should never loop? i donât understand why i should never loop.
also if i dont loop, how am i going to get all of the items in the container/inventory?
even if i make it myself, i would do a loop and then add it all to the inventoryâŚ
if possible, can you show an example or an alternative to the code?
You can loop to get the items thats fine just donât loop to add them because you will be calling these functions over and over which is just bad, instead you should code some logic to check your Inventory and handle the TakeAll as a single function.
the thing is that alot of the variables are local variables and the inventories for containers are local tooâŚwhich is giving me some problems and i just looped the function and it worked.
also do you know why i cant seem to get any overlap events from the mainhandweapon reference?
i did a search and it is now spawning the actor, so it should overlap but it doesnât.
i checked the weapon_actor and it seems that collision is set to ignoreall on default, so i set it to overlap all but nothing happens.
i also checked the weapons, the axe, dagger and sword and they all have a physics asset in their skeleton so i have no clue why they are not overlappingâŚ
Iâve had this asset pack for a couple of months now when EPIC were giving it away. I have tried to set it up but no luck there!
Does anyone know how to setup the ACTION RPG inventory system from Market Place? I am using a third person template for a first person shooter and I do not have a character controller which should make it easier. If anyone could shed some light on this I would be eternally grateful!
I have never tried to bind onbeginoverlap. Not even sure if it works with those overlap functions, those may already be bound from within the system. . Sorry, not good at event dispatchers at all. What are you trying to do with it?
Your talking a bunch of work there, then you get a separate array, duplicate/change several functions to work with that array ( ex, get item, add item, remove/add stack etc). lots work.