A_pathfinding Flank

aaredyota

New member
Hi,
I use Movement pack 3 months with A_star pathfinding and it's wotking fine.

Tactical pack, Flank task not working.

Here is screen for Leader and standart agent setup.

1. Pathfinging sricpt Rich Ai is active, speed is positive = 5
2. Try to enable\disable options shown by arrows in sreenshot
 

Attachments

  • 2020-09-07_11-10-04.png
    2020-09-07_11-10-04.png
    77.6 KB · Views: 5
  • 2020-09-07_11-12-50.png
    2020-09-07_11-12-50.png
    68.7 KB · Views: 4
Yes, demo scene from Integration Tactical package for A star pathfinging is working.
Probably i need to setup some additional tasks or add scripts on Agent?
 
Good to hear that the demo works. You don't need any additional tasks. In your first screenshot it looks like you have a Group Index set but you likely aren't using that for the actual behavior tree component. Try setting that to 0.
 
Good to hear that the demo works. You don't need any additional tasks. In your first screenshot it looks like you have a Group Index set but you likely aren't using that for the actual behavior tree component. Try setting that to 0.
This don't help

Try to setup it in the demo Scene

1. When add Recast graph and change nav agent on Rich Ai on default agents - it works

2. When add Character, copy all A star components from default agent and Behav tree - Flank - not working
2.1. Also try to remove one of agents here(not leader)
 
What is the call stack of the null reference exception that you are getting?
 
You should make sure all exceptions are fixed as that will interrupt the execution flow and could prevent the behavior tree from working.
 
Exceptions are the errors in the console. These errors will affect the execution of the game so you should make sure they are all fixed - chances are it is preventing the behavior tree from executing correctly.
 
Top