#How do I find this node in UE4?
1 messages · Page 1 of 1 (latest)
This is a normal "Set Value" Node for a variable, in this case an integer.
This has nothing to do with Unreal Engine versions, as the engine does not implement a default solution for a collectable/collection system. This integer therefore does not exist by default, you have to code it yourself (or rather just make it yourself, it is a button click and boom!).
Though I would suggest you either follow along the tutorial more carefully when they are creating their variables used in the system or rather learn how to code in Unreal Engine first, before you start making something difficult like a collection system.
Don't want to offend you, but if you don't even know what an integer is, maybe you should start learning how to code first.
@zinc grove Do you have any experience at all?
No i don't. This is my first ever game.
Right now I'm just going off of tutorials
Do you know any tutorials I can use that might help?
Im currently rewatching the tutorial I used to see if i missed anything
OMG WAIT you don't need to look anything up!
I figured it out!
That is not a great way to kick of your coding journey. Just following tutorials will get you exactly no where. Even trying to make a full game right now is not getting you anywhere.
This is not about rewatching or adding in the solution from a discord forum. YOU need to understand what you are doing. That is the only way it will ever work out. YOU need to learn the coding language, otherwise you are just asset flipping code snippets and trying to mix them together for a full game, while you do not understand 90% of what is going on. That is the wrong approach.
What I would recommend to begin your journey in Unreal Engine is:
-
Get to know the engine environemnt
You need to understand where you are working, if you want to do great work - as simple as that. Get used to the Unreal Engine, just look around a bit, check where certain features are, check how to create new actors or how to place a cube in the world. -
Learn the coding language
This step is quite complex as it consists of multiple steps depending on what you chose as your first coding language in Unreal Engine, as it has multiple. C++ which UE5 in written or Blueprint (which the Tutorial you copied was using) which is their own visual coding language. Both have their own benefits and disadvantages, but I am not going to discuss that here, taking for granted you will choose Blueprint:
2.1 The Basics
Learning coding languages is hard. Especially if you have never coded before. When you want to code, you need to understand the logic behind the feature you want to code first. But before you code any special features like your own movement component or a collectable system, you need to learn the basics. Well how do you do that? First, Tutorials are a great way to learn, though not to achieve. What is shown in tutorials will almost never stick to you in the long run. Watch general tutorials on how Blueprints work! They will help you increasing your coding skill organicly. (im not done)
2.2 The next Step
When you get to know the basic logic, behind the language you are using and its syntax and so on and you have learned the basic functionality of the language, like How do I create Variables? How do I create functions? How do I call functions from other classes? How do I spawn classes? and all of that, you can take the next Step, which i like to call Diversifying and Specialisation.
Now that you have a general, basic understanding of what is actually going on behind the logic you are coding, you can choose something you are interested in. For example a Pick-Up-Collectable System. Or even more basic, a Interaction System to Open Doors or so. The next step is not bound to be simple blueprints either. You can explore now all the different features UE5 has to offer. Maybe you want to create UI`? Then get invested into UI Widgets in UE5. Or you like to create materials and VFX in combination with actors and stuff like that? Get into it!
Overall you need to just get the basics first, so you can then build on this solid foundation for your coding journey. Just building of tutorials is not sustainable and will be frustrating as you do not understand what you are doing.
2.3 What comes next?
Now that you are starting to learn more and more, you can decide what you want to do with the new-gained knowledge. Now is the time, to actually start working on a full game, which will eventually expand your knowledge even further.
You need to learn the basics. The rest is learning by doing. This is the only way to learn how to code sustainably (in my opinion).
Ill be sure to keep looking at this a lot to understand! I do know some basic things in UE4, like navigating the workspace, how some blueprints work, how to make UI widgets, and how to make a first person controller. Im gonna do what you suggested and learn the basics before doing anything! Thank you so much!!!
No problem. Good luck on your coding journey!
Thanks! And if I have any questions, I'll be sure to ask you! If that's okay.
Sure thing.
Thanks! Have a great day!