Hello I setup the AI character to my game and in the character blueprint class I use 2 events (Event Begin Play and On See Pawn)
From Begin play I setup really basic Move to random location per 2.5 second (something like that) but from second event On See Pawn it execute AI MoveTo (to my player character)
It working but the problem is that AI still trying to Move to random location when see me on See Pawn so he can’t move to my player character, so you know what node will disable it when AI see me?
i think you can block random move by using bool and branch or timer stop node
make find(bool) and insert branch next to randomlocation event, make connect it to false
once ai see you, you set find(bool) true and it cannot excute
I personally have had issues trying to set and use a boolean to determine whether a timer loop would continue. What I would recommend is a branch statement after the randomlocation custom event that uses a boolean of Seen? Then on the OnSeePawn, set the boolean to true and you could maybe put a set false from the cast failed on the batmanbeyond cast since that means it didn’t sense that pawn.