First off all, i‘m from Austria and i speak german, so please ask me if you dont understand my problem.
So im trying to create a game where you can assemble engines. I made it with many variables with what is connected and what is bolted on, which gets edited ingame by blueprints. So when the crankshaft gets mounted, the crankshaft variable gets to true.
(Im in between beginner and advanced i would say)
Now my question.
When i spawn the Same Engine blueprint again Where nothing is mounted and a mounted engine is already spawned, the variables for the new engine are the same. So a engine where the crank is connected (crank variable true) is ingame and a engine without a crank (should be false), but the variable gets true.
Any idea how i can fix that or suggestions for improvement on the code?
Thank you and greetings from Austria!
So i hope it can be read or at least identified, its a small part of Code.
Would also love it, if i get positive or negative feedback and what i can do better.
Seems to pretty much solve my Problem
I started to program this like 2 months ago. So i have no spawn right now, i just place it in the Editor.
Only Problem i have left, i want to create a Shop and the Player can get as much engines as he wants. Is there anything to get this into this Code so i dont have to get like hundret of this ?
That was your problem, you were updating the original.
You can put code in the event graph of the blueprint to stop the player attaching more than one of each item. It’s just a variation on what you already have