Hello
I would like to make a mechanic that after entering a Box Collision and using the node Spawn Actor From Class, the character appears but without any events in the blueprint of the character, for example After entering pawn sensing, the character runs up to you and this does not happen because the character just appears and stands still. And how to make the character that appears play its event in the blueprint
(if someone does not understand something I apologize but I use the translator)
If I understand correctly, you’re trying to run code as soon as the actor spawns. If that is the case, you need to use a “on event begin play” event node, and then run the rest of you’re code from there.
Well, yes, that’s what I meant, but still, after the character appears, it doesn’t do anything, for example, after the character appears and you enter his field of view, the text prints out
Okay, I’m still not entirely understanding what you are saying, and part of that could be the translator. So when your pawn enters a box collision it spawns another actor, right? And then you want the actor to run towards your pawn when the actor senses the pawn? If so, how are you sensing the pawn? Is it through the actor’s field of view? Or is it through the pawn’s point of view? Or is it neither?