in other words, hes trying to get you to do this:
array clickarray[500];// allows you to click up to 500 times before it cant store anymore
when you click, it will store your first co-ordinates xyz(134,543,0) in the first slot.
when you click again, your next set of xyz will be put it into the second slot, until the first point is reached, then its erased; and player goes for the second set of numbers(which becomes the first set of numbers now)
if you clicked 3 times before you reach destination 1, your array will store 3 sets of xyz... make sense?
Visual image...
clickarray[500]
//New array made, looks like this:
0,0,0,0,0,0,0,0,0,0,0,0,0....500 times
click once, it looks like:
(134,543,0),0,0,0,0,0,0,0,0,0,0,0...
and if you click again before you get to target one:
(134,543,0),(265,789,0),0,0,0,0,0,0,0,0,0...
and if you reach target one, and click again, like this:
(265,789,0),(325,762,0),0,0,0,0,0,0,0,0...
so you can click up to 500 times until it cant store the last number...
I dont know how to delete the numbers in array slot 1, without deleting the whole array tho...
Good luck.
Last edited by DevoN; 04/07/09 03:09.