Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


the probable choice

This topic is 5285 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a list of objects and i need to pick one, where each is associated with a probability of its selection. Of course, anything with a probability over 0% might be chosen and the higher the probability the more likely it will be picked. I just can''t seem to find a good way to do this. Any advice?

Share this post

Link to post
Share on other sites
Would this thread help?

edit: well I guess it would help a lot more if the formatting wasn't blown five ways to heck.

[edited by - SiCrane on April 3, 2004 12:12:57 AM]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!