Fixed, but I have a new array problem. I'm trying to compare the elements in one array to another. I want it so that if the contents are the same, it will be true regardless of if they are in the correct order. Is there any way to do that?
Array order
Learning Ruby and RGSSxFixed, but I have a new array problem. I'm trying to compare the elements in one array to another. I want it so that if the contents are the same, it will be true regardless of if they are in the correct order. Is there any way to do that?
You'd probably have to sort them both into temporary arrays first, and then compare the temporary arrays.
Thanks 😀 I did that before, but it didn't work, but when I changed the array elements to numbers instead, it worked.
so all sorted then?
Yes, along with the other problems that I posted.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/array-order.30027/