I have a character (char1) who moves along a path in a tight hallway. When he enters the line of sight of another character (char2), I want him to turn around, and calculate an alternative path to his destination.
In my event sheet, I have added to the "has line of sight" event of char2:
char1 > add obstacle > char2
char1 > regenerate obstacle map
char1 > find path to
char1 > on pathfinding path found > move along path
Yet char1, when he enters char2's line of sight, continues past char2 to the destination. What am I doing wrong?
Thank you, and please welcome me to the forum, as this is my first post :)