Jump to content
UBot Underground

Randomized Table


Recommended Posts

Hey all,

 

Does anyone know any way at all to randomize a table? I have 2 main pieces of data that need to be used together each loop so I have them in a table and it works great but without being able to randomize the data before use it doesn't really do what I need.

 

Any suggestions/ideas would be appreciated.

 

-Dillon

 

 

Link to post
Share on other sites

Instead of randomizing the table randomize the order in which you access the cells....meaning that you should prepare a UBot list containing random numbers, which are representing table rows. Once you have that you just loop through a list and pull row numbers from it....

  • Like 1
Link to post
Share on other sites

Instead of randomizing the table randomize the order in which you access the cells....meaning that you should prepare a UBot list containing random numbers, which are representing table rows. Once you have that you just loop through a list and pull row numbers from it....

Perfect, thank you. Got everything working exactly as I needed.

 

-Dillon

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...