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.