Max Nielsen
Member
Hi,
I am trying a very basic scenario where I have a wandering AI. When this AI sees the player, it waves for 2 seconds, then continues wandering. How can I achieve this in Behaviour Designer?
I tried the below but I think the issue is that "Can see object" is only checked once on entry, then never again. It works if the agent is enabled while looking at my player, so this is obviously what is happening, but shouldnt "Can see object" be a continuous check that will interupt Wander when it sees the object? Seems like that in all tutorials I can find.
Even if this works, Im not sure how to do an action for X seconds (waving), then continue wandering. How can this be achieved?
I am trying a very basic scenario where I have a wandering AI. When this AI sees the player, it waves for 2 seconds, then continues wandering. How can I achieve this in Behaviour Designer?
I tried the below but I think the issue is that "Can see object" is only checked once on entry, then never again. It works if the agent is enabled while looking at my player, so this is obviously what is happening, but shouldnt "Can see object" be a continuous check that will interupt Wander when it sees the object? Seems like that in all tutorials I can find.
Even if this works, Im not sure how to do an action for X seconds (waving), then continue wandering. How can this be achieved?
Last edited: