In a type how do you call a specific memory location. I know in an arrey all you need to do is call is as a veriable w/ the location in the arrey. In a type the only way I know of to change the data in a memory location is to run through the every memory location in the type.
to clearify, I was trying to to a touch test on two balls in the same type. When I check each object in the type I cannot call that same type inside the loop because the variable of both ships are the same.
The only thing I can think to do is save the x,y location of the object as another veriable name then check the location of location of all the other balls against that.
This seems like a lot of trouble though. could you send me in another direction.
to clearify, I was trying to to a touch test on two balls in the same type. When I check each object in the type I cannot call that same type inside the loop because the variable of both ships are the same.
The only thing I can think to do is save the x,y location of the object as another veriable name then check the location of location of all the other balls against that.
This seems like a lot of trouble though. could you send me in another direction.