Thanks for the help ramones.
I've been stuck on this for a couple of weeks and I have tried many, many variations on the array. So far I cannot get it working properly. When I have it set up logically like your suggestions the program freezes.
var Random_Number = 0;
var n = 0;
While (n < 52) {
Set Random_Number to floor(Random(1,52);
}
if (myCardNumber does not contain Random_Number) {
Set value at n to Random_Number;
Create object Cards;
Set CARD_ID_ORIGINAL to Random_Number;
Set CARD_DECK_POSITION to n;
Add 1 to n;
Everything else is left the same.
Do you have any suggestions to why this isn't working?
Thanks
Brett