I am supposed to build a script that randomly generates a playing card. (Please do not make a script for it, I am just having trouble with a part of it.)
What I would like to do is have it randomly generate an integer, and compare that int to an already set int, so if it generated a 3, per say, it would compare it and see that 3 is meant to be Jacks, and have that be set to jacks. I have searched and have not found anything, so any pointers would be of amazing help! Thank you!
Aucun commentaire:
Enregistrer un commentaire