E
Emperor88
Guest
currently i am programming a node-run fleet AI into my game. only when i try to send pre-randomized x and y coords the arrays will not have it. i have a totalships variable because the amount of ships can differ per fleet node. ect. this is the code and it is coming up with errors. please explain why! cheers emporer88
for (i=1; i<=totalships; i+=1)
{
ship.xrally = x + xxcoord
ship.yrally = y + yycoord
}
for (i=1; i<=totalships; i+=1)
{
ship.xrally = x + xxcoord
ship.yrally = y + yycoord
}