Spawn AI From Class - can not set actor public vars

If I’m using the node Spawn AI from class the return value does not show the public variables that were set in that class.
How can I set some public variables of the class for the actor that spawns using Spawn AI From class node ?

I also try to set it on the controller but still nothing.

Hey,

what you need is to pick the return ref from the “Spawn Ai from Class” and cast it to your Class, like Cast to “BP_MyCharacter”, then you can set up the Public vars.

:slight_smile: