I am using the Cosm library, and I have a few agents with randomly fluctuation colors. I want agents to follow each other based on if they are the same color, at any given moment
I am getting the XYZ world coordinates from each one - and am using (ZL Compare) and (gate) to check if agents match and send coordinates to the other same-colored agent - but when I send them through (pak position f f f) and to (cosm.nav) of the other agent, the only thing that happens is that the agent is positioned in the middle of the world.
In other words; they dont follow each other but are only repositioned in the place the start when the patch is loaded
If anyone has been building algorithms to have agents chaise eachother It would be much appriciated if you could show me how you have done it.