I’ve encountered an error, which I’m guessing is the get actor location…basically when I turn to the left and cast a spell the particle system is still casting straight forward, not to the left where I am facing. How would I fix this?
Sorted the particle system error, but now I’ve only got the hotkey function where I want to cast different spells using 1,2,3 ect…this will be my last question, because I’ve asked for too much help as it is. Thank you so much!
Sorry about that. Here’s an image of the blueprint scripting. I’ve added action mappings for each spell. However, let’s say I pressed 3 it will still cast the fire particle system. Fire key command is 1, not 3. I bet this is something very simple, and I’m just completely useless. p.s You should see my college assignments.
Oh god I’m away for just one evening and I’ve got an essay to read
I will just answer the last one as I kinda lost overview about what you figured out yourself and what not ^^
So the hotkeys are what my second array is for. For different key bindings you just use the index 0-whatever and in there you have a reference to the spell you wanna cast which is located in the first array of structs.
Like this you can easily modify it in some menu or the hud
Did you make sure to select “0”, “1” and “2” at the action events?
Like this? This is what I had before you replied, I made sure that
each input corresponded with the key that I want assigned. I’m very confused on why this isn’t work…
That was getting small as hell so I’ll just continue here^^
To your mistake: You just pluged 3 inputs to the same functionality which receives value 0 from the hotbar spells. Of course they will all do the same as nothing is different between their execution.
Copy the code 3 times and insert the value 0, 1 and 2 for the “Get Hotkeys” array.
Also I’m not sure where you are coming from and what your background is but I kinda suspect it’s not a coding one.
I mean ok new to unreal and all but I’m pretty sure you still don’t know what half of this does or why it is done like that.
No offense whatsoever but you will just have more questions later on and won’t be able to modify anything. Building on top of half knowledge won’t get you anywhere. You should build up the knowledge and then work with it. And a large game engine might not be the best place to do this since you are not adding everything piece by piece (like you would do when learning java for example) but you just need pretty much everything right at the beginning. We are getting way out of the scope of your original question and this is pretty much tutoring at this point.
Not that I have an issue with doing that in itself but the answerhub is certainly not the right place for doing so and I am already involved with two projects and am studying so I would not offer it at this point.
I would suggest to either learn OOP programming from the ground up or just taking existing code and concentrating on level design, materials or particles. Whatever you like best.
Again no offense to you at all! But you can’t just jump into a game engine and learn everything there… well you could but it takes a lot of reading up on stuff and a lot of this stuff is not UE specific. I for example learned them in Java a few years ago and am still learning new stuff until this day and am pretty sure I never will stop learning new stuff.
Well, I started a games development course a year ago, but we have only started with game engines a few weeks ago. I have no prior knowledge of programming languages or blueprints. I have learnt a lot from the tutorials and explanations you have gave me, and I can’t thank you enough for that. The course mainly consist of 3D and theory, and I have recently found an interest with programming. I want to learn languages such as Java or C++, but I have literally no idea where to start with them. I will be going to university in September, but I would like to have at least some prior knowledge with Java or C++. I have a project to do for college, which is a playable game that lasts around 5 minutes. Like, look at this model that I’m currently working, but I’m currently in Unreal trying to get the fundamentals working. I’m on the process of painting skin weights, and this process is very tedious. Do you have any sources that will help me learn the basics of either Java or C++? Recommendations such as books ect…?
Well, I started a games develo
pment course a year ago, but we have only started with game engines a few weeks ago. I have no prior knowledge of programming languages or blueprints. I have learnt a lot from the tutorials and explanations you have gave me, and I can’t thank you enough for that. The course mainly consist of 3D and theory, and I have recently found an interest with programming. I want to learn languages such as Java or C++, but I have literally no idea where to start with them. I will be going to university in September, but I would like to have at least some prior knowledge with Java or C++. I have a project to do for college, which is a playable game that lasts around 5 minutes. Like, look at this model that I’m currently working, but I’m currently in Unreal trying to get the fundamentals working. I’m on the process of painting skin weights, and this process is very tedious. Do you have any sources that will help me learn the basics of either Java or C++? Recommendations such as books ect…?
Not quite sure about C++ as I learned it at university during a lecture about operating systems so to speak as by product of it.
Java however has a few very good books. Quite heavy but really good is Ivor Horton’s Beginning Java. Besides that I have some german stuff around which probably won’t help you too much.
However by simply googling c++ or java tutorial you usually end up at very good places which at least gives you an idea of the basics and what to look for next. For every module and part there is a fitting tutorial online. Interfaces, events, exceptions / error handling. You can find everything!
This is the last thing that I would like to implement for the interface, but I just can’t figure out how to do it. I was wondering if you could help me out once again? Sorry for the pestering.
here’s a link to a different question that I created. How to highlight outliner for inventory slots? - Programming & Scripting - Epic Developer Community Forums