Oh, nice.
So if, say, I have a function:
void ShuffleOrders(string *Orderlist, int *OrderCount)
and I pass: string[25] Orders, int Count[25]...
then access them in the function and swap things around,
I can use something in the function like:
OrderlistTemp = Orderlist[0];
Orderlist[0] = Orderlist[1];
Orderlist[1] = OrderlistTemp;
and have the values actually swap when I access string[25] Orderlist in another function.
Is this correct?
Aeg1s, I'm trying to see if I can make running orders exactly as I lay them out within the blocks. Say, I want:
+4 Drones,
+1 Ovie,
+1 Pool
I want to have them in a queue, and get the first one executed, then the next, then the next without keeping an eye on them so closely like what is happening now.
Even so, I'm still not sure if this will be applicable for every order, since some train or build orders can be queued in another building and the other in another and so forth.