title: Unreal Engine 4: Spawn Emitter At Location
body: <p>I used the First Person Template in the Unreal Engine 4.17.2 and chose to use C++ instead of blueprint. My goal was to make the projectile that's shooting out of the gun in the template explode on contact with whatever it made contact with after being shot out. I planned to use the explosion particle in the starter content. To do so I opened up the projectile class that comes in the template and edit the code for both the header file and source file in Visual Studio 2017. <a href="https://i.stack.imgur.com/qZkyB.png" rel="nofollow noreferrer">Here you can see I where I establish a particle system in the header file.</a></p>
  
  <p>Although in the source file I have an issue trying to use <code>UGameplayStatics::SpawnEmitterAtLocation</code></p>
  
  <p><a href="https://i.stack.imgur.com/G9vKe.png" rel="nofollow noreferrer">This is after using #include "Kismet/GameplayStatics.h"</a></p>