Grannyboy
Active member
I have a behavior tree where I use the CanHearObject which listens to my weapon as a global variable. When I start the game this returns false, as it should. Then when the agent hears my gun shot it returns true which is corret.
But after I kill the agent and he respawns 10 sec later bout 100+ units away it instantly returns true, even tho no sound is made for the agent to hear.
Why does this instantly return true even tho there is no sound made? How can I reset the tree completly so this wont happen?
But after I kill the agent and he respawns 10 sec later bout 100+ units away it instantly returns true, even tho no sound is made for the agent to hear.
Why does this instantly return true even tho there is no sound made? How can I reset the tree completly so this wont happen?