Hi everyone, I have a problem where I Spawn multiple NPC’s and assign them a position based on some EQS Tests and the available positions for each reach, there are three as of now but I could add more based on reach, right now I have Melee, Long Distance and Wait zones has shown bellow:
Right now I’m testing two zones, the Melee zone and the Wait Zone, each of them are getting assigned correctly but for some reason the NPC’s assigned to the Wait zone stop moving to their assigned spots after some time, even thought there are a lot of open positions:
Has can be seen here, there are a lot of open spots for the NPC’s to move
But for some reason they simply stand where they land and won’t move
Even though the Behavior tree is executing and the movement node is executing
But they still won’t move for some reason, here is a photo showing where the NPC was supposed to move to.
And here is a Gameplay Debugger data:
and here is the EQS and the Behaviour Tree with added location reachable validations:
I use a custom Decorators that checks if there is a valid open position for the NPC to fill, which is working has expected, and another one that checks if a position has been opened when a enemy dies, if not, it turns off the behaviour tree and waits for an NPC to die and then gets activated.
Thank you for any information and let me know if there is any other information that I might need to add.