Issues getting projectile movement from Spawn Actor from class if actor decided by variable

Hello guys, I may need some of your help.

I am creating some turrets which would shot different projectiles. In order to do so, I have created a Datatable with the actor that each turret would be shooting. Shown in the BulletClass part.

The problem comes when I try to spawn the actor through the class and access the homing target component. If I were to not connect the variable I created inside the blueprint (which comes from this datatable) and the call the “get projectile movement” … it would work and it would connect, like show before (that’s what I am trying to achieve).

But whenever I connect the variable to the spawn actor it would detach from the previous get projectile movement and won’t let me get that node from the return value of the spawnActor.

It would really be appreciated if anyone could enlighten me. (I’m also trying to avoid casting to the projectile). And in case it is important, the projectiles are child blueprints from a master projectile blueprint I have created, although it shouldn’t matter because no matter which Actor class I choose inside the “SpawnActor from class”, it works (parent or child) if I don’t connect the variable node.

Thanks so much.

its of the wrong class, see in your second pic it says spawn actor, the first pic says spawn basic projectile.

id guess your out row bullet class is set to actor class not your projectile class

Thaaaaanks, that was the problem. I had no idea you had to define the class as the projectile class, though everythign had to be an actor. Huge huge thanks.

BTw, how do I mark this as resolved? xD