How to check for action like can see object in the middle of a wander or patrol

eric

New member
How to check for action like can see object in the middle of a wander or patrol? Do I have to customize all the actions to support this or is there a built in way to do this? I tried using sequences but it never seems to leave the wander and check if it saw the player. I'd like to do several things like wander, patrol, seek, and if I see the player or he shoots me I'd like to trigger a run for cover or an attack. Ideally I'd like to interrupt the wander to take cover for example. So am I missing a built in function for this or should I get to modifying tasks again?

Thanks!
 
You can use the parallel task for cases like this. Conditional aborts will then allow you to interrupt wander. Take a look at this video for more details:
 
Top