Can you tell me how can I implement that code to this one? I was trying to do it, the problem is I have to specify each point for the line to get drawn, but as you can see I specify each one of them in a for loop, here you have the piece of code for it:

Quote:
for(i = 0; i < 15; i++)
{


if(path[i] != 0 || nodeA == 0)
{
path_line.x = node_x[path[i]];
path_line.y = node_y[path[i]];

draw_line3d(vector(path_line.x,path_line.y,10), vector(0,0,255), 250);
}
}




Thank you very much.