User Tag List

Results 1 to 2 of 2

Thread: Retrieving random seed

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Retrieving random seed

    Is there any way to retrieve a random seed for either the built-in Random function or the MT Random extension, similar to how one can be set using Randomize?
    I can see it as a useful way of replaying a level that uses random values, whilst still letting it be differently random each time the frame is played.
    Or is it just a case of getting the Timer and storing that for use in replays and using it as the Random Seed?

  2. #2
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try doing what I did. I stored the seed value in a global value and set the seed to that.

Similar Threads

  1. [request] mp3 ID3 tag retrieving
    By colej_uk in forum Extension Development
    Replies: 8
    Last Post: 26th August 2016, 10:10 PM
  2. MT Random with seed gives different values on PC to iOS device
    By AyreGuitar in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 12th February 2013, 09:32 AM
  3. Beta 19: MT Random Bug - Seed not set randomly
    By netninja in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 18th May 2011, 12:11 PM
  4. Retrieving Items in Ini++
    By Jaffob in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 23rd June 2008, 10:08 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
  •