Training Stream - Tanks vs. Zombies, p.3 - May 17th

Great stuff again! Any for the code? The very last part spawning the missile isn’t working for me and I’m getting an error that the AMissile isn’t an AActor in the if statement:

       if(AMissile*NewProjectile = World->SpawnActor(Projectile))

I tried changing the header file to make it an actor but that didn’t work either. Im still pretty new to c++.

Thank you!

PS Im still not able to use the Player Start in the editor to spawn the tank in so let us know how you fixed that too!