User Tag List

Results 1 to 2 of 2

Thread: Pick Random but delete from possible list?

  1. #1
    Clicker Multimedia Fusion 2Android Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Android Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Dec 2010
    Posts
    339
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Pick Random but delete from possible list?

    Hi everyone, I am working on a Rogue Like-like, I am using INI files do save my pre-made levels, but on the run I want to call then into the game.

    Thing is: I don't want the same level to ever happen again. What is the best way to do this?

    Thanks a lot!

  2. #2
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    When you load your game, put all the levels into a list object, one level name per line. Then you can pick a line at random from 0 to total number of lines. Use that to load your random level, then delete the line from your list. Now that level will never be randomly picked from the list object again since it was removed.

Similar Threads

  1. How can I pick a random sound???
    By Oliver in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 5th October 2011, 05:03 PM
  2. can I pick a random file?
    By Dave in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 16th January 2008, 03:02 PM
  3. Pick Random Object From a Zone.
    By 00J in forum File Archive
    Replies: 0
    Last Post: 28th December 2007, 07:27 AM
  4. Pick object at random, among a selected few
    By Popcorn in forum File Archive
    Replies: 1
    Last Post: 6th December 2007, 05:51 PM
  5. Pick an object at random?
    By Clicktastic in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 13th August 2006, 01:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •