Hey Guys!
I'm making a random Name Generator using Arrays...You press a button and it
generates 3 names at a time.
I want to implement a lock system where you can lock down a name you like but are
still able to randomise the remaining 2 names that aren't locked with the padlock
button.
Capx
I think the best way is to have an Array that temporarily stores the Name you want to lock. . . It will require an action to Push the Current Name that is stored in the 'Name Array' to the Temp Array.
I Tried This
On Lock button pressed > TempArray > Push Front > ArrayName.at(0,ArrayName.width)
Once you Unlock the Name you are then free to generate 3 new names which will clear the Temp Array.
I can't seem to get it to work, any ideas?