im not sure this works but im working on the logic of ally commands etc go there, advance 10 paces etc so far i made “go there” basicly where you command the ally to go to the place youre pointing to. not sure this works tho cuz i havent tried it yet.
initial and completely unformatted thoughts on it.
new state: goThere (?)
bool variables patrolMode, stealthMode
raycasthit point, ally set location of interest, some instructions on patroling within a specific distance of that target, or hiding in the area within a specific distance of location of interest.
would be better than making some sort of gun.