The problem is, I want the beginning and ending tradelane rings to be a set distance from the planet so the middle rings can be a little more or a little less then 1000 from eachother. I'm not sure how I can program that into my script. I hope you can understand this... it's a bit hard to explain.
Here's what I have sofar... Right now it works but I'm in the middle of adding the radius parts so keep the rings outside of the planets themselves.
//BuildTradelane(x1,y1,radius1,x2,y2,radius2)
DistanceTotal=point_distance(argument0, argument1, argument3, argument4);
BuildAmount = floor(DistanceTotal/1000)
for (bld=1; bld<BuildAmount; bld+=1)
{
if bld=1
tdln=instance_create(argument0+lengthdir_x(1000*bld,point_direction(argument0, argument1, argument3, argument4)),argument1+lengthdir_y(1000*bld,point_direction(argument0, argument1, argument3, argument4)),o_TradelaneR)
else
{if bld=BuildAmount
tdln=instance_create(argument0+lengthdir_x(1000*bld,point_direction(argument0, argument1, argument3, argument4)),argument1+lengthdir_y(1000*bld,point_direction(argument0, argument1, argument3, argument4)),o_TradelaneL)
else
tdln=instance_create(argument0+lengthdir_x(1000*bld,point_direction(argument0, argument1, argument3, argument4)),argument1+lengthdir_y(1000*bld,point_direction(argument0, argument1, argument3, argument4)),o_TradelaneM)}
tdln.dir=point_direction(argument0, argument1, argument3, argument4)
bld+=1
}Anybody wanna take a crack at helping me with this?



Find content
Male

