Throw a fireball (new to blueprints)

I’m using the side scroller template with blueprints for this project. While I’m no stranger to programming, blueprints are completely foreign to me. That being said, here’s what I’m trying to accomplish:

  • User presses the throw fireball key
  • Player character throws a fireball at roughly chest height
  • If it hits something, it dissipates
  • If that something is an enemy, it takes damage

To that end, here’s what I’ve accomplished so far:


That spawns a fire at the character location, but it doesn’t move. I’m looking at spawning the emitter attached, but I don’t really know what I would attach it to. Where do I go from here?

As a side note, if there are any magic related UE4 resources/tutorials you could recommend that might nip more beginner questions in the bud, please send them my way.

Well it’s only going to spawn because you’re not adding any type of velocity… There’s a tutorial that covers it in the Networking Tutorials for spawning a bomb, can’t remember how they setup the velocity though. (I know you can turn it into a projectile in settings with the object/blueprint that covers most of the math.)

The trick here would be to make a blueprint for your fireball. One of the properties you can add to a blueprint is “projectile movement”. (found in the components section, under “add component”). Then, if you spawn that blueprint facing in the correct direction it will whizz away at whatever speed you picked for it.


Here is a walkthrough tutorial by tesladev that explains the entire process!

His channel contains a lot of useful videos on this. There are also the unreal tutorials by zak parrish which are very thorough and will take you through the basics of blueprints etc.

Good luck!