I've set up a basic patrol enemy AI. The orc chooses between right and left and when it reaches a wall goes the other way.
I also implemented the Line of Sight behavior on the Orc. I've set the cone to 360 to test and range to 300. I have added a opacity drop as another form of testing. You can see the event list below.
In the video below you can see that when the hero character jumps behind the solid wall the orc continues the parameters set during Line of Sight while continuing the Patrol.
How do I get the Orc to return to the Patrol parameter?
Thank you so much for any help!
Develop games in your browser. Powerful, performant & highly capable.
Move the 'does not have line of sight' event out of the sub event of the 'has line of sight' event, it should be its own event. Line of sight and no line of sight cannot be true at the same time.