You could check the the casted pawn doesn’t equal self before calling the move node
You also don’t have a location set on the move node
You could check the the casted pawn doesn’t equal self before calling the move node
You also don’t have a location set on the move node
Hello, I am currently attempting to script a pawn in BP that can seek out and find other pawns of the same class.
Essentially I want to be able to throw multiple instances of the same pawn into a level and have them seek out and find other pawns of the same type [rather than having to create multiple individual pawns and have to cast to each one. However, if I simply cast to the same pawn class - it will not move anywhere as I believe it is essentially detecting itself and moving to itself (thus moving nowhere.)
Here is a screenshot which basically copies the methodology for a pawn finding the player character but casting to the pawn I am using instead. Obviously I know this is not the way to do it - but I am curious if there would be a way to get this to work. Cheers.