Code: Select all
int CAICallback::CreateSplineFigure(float3 pos1,float3 pos2,float3 pos3,float3 pos4,float width,int arrow,int lifetime,int group)
{
return geometricObjects->AddSpline(pos1,pos2,pos3,pos4,width,arrow,lifetime,group);
}
int CAICallback::CreateLineFigure(float3 pos1,float3 pos2,float width,int arrow,int lifetime,int group)
{
return geometricObjects->AddLine(pos1,pos2,width,arrow,lifetime,group);
}
In english, this means the lines and splines aren't send across the network, so unless the group AI creates it's own connection it's not going to work...
That gives me an idea, if the AI is allowed to send networking messages to allied AI's directly, then these things can be fixed without any more engine additions :)
Requires another non-backwards compatible upgrade for group AI though, but that shouldn't be much of a problem since this is the only groupAI right now (Except for the standard ones)...