i known i can't spawn a object, that why i need get the class actor, and that why Get Class not work because return a Class Object and i want Class Actor from the "hit actor"..
the idea its simple like you see in that capture (not mine but he have same problem, want something like Shoot->trace-> Break Hit -> Hit Actor -> Get Class'Actor' of the hit actor and spawn another one. why? think something like if i Line Trace a dog want spawn a dog, if i line trace a cat want spawn a cat.
i must find another way. But the idea was simple, its shame i can't get the class'actor'
when i saw the "Get Class" i say "nice that going to be easy"... after try connect ! sh*t return 'Object'
From your variable object output, drag a link to empty area grid. When the actions choice menus appears, click "Context sensitive" and type "cast actor" in search field.
This BP compile fine but isn't fully functional. And not tried.
1 - Initialize an array of classes with all the classes you want.
2 - Compare in a loop the classes in the array with the class of the hit actor.
3 - If comparison is true, spawn the actor.
Maybe there is a better solution, but i don't see best.
Comment