Picking a random member of a Type List

BlitzMax Forums/BlitzMax Beginners Area/Picking a random member of a Type List

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Let me introduce a problem,

I have a tlist that contains all my boss_fragment instances. The name of the tlist is called boss_fragment_list. I need to pick any instance from that list at random and tell it to proform a spawn() function how would this be done?

Thanks in advance.