User Tag List

Results 1 to 3 of 3

Thread: Randomly appearing object

  1. #1
    No Products Registered

    Join Date
    Feb 2012
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Randomly appearing object

    How do I get an object to randomly appear visible, and then stay visible for a random period of time?

  2. #2
    Clicker Fusion 2.5 DeveloperiOS Export Module
    ChrisBurrows's Avatar
    Join Date
    May 2011
    Location
    Tasmania, Australia
    Posts
    622
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    A very simple solution:

    Have a counter ojbect. Every 1 second set counter to: Random(10)

    This generates a random number.

    If counter = 5 then set object to visible.

    This makes every 1 second there be a 1 in 10 chance of the object being set to visible.

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export Module
    ChrisBurrows's Avatar
    Join Date
    May 2011
    Location
    Tasmania, Australia
    Posts
    622
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    To set a random period till the object becomes invisble...

    If Object is visible + only 1 action when event loops: then set alerable value A to random(60)

    Every 1 second: subract 1 from alerable value a

    If alterable value a = 0. set object to invisbible

Similar Threads

  1. Why isn't the object appearing...?
    By emberjed in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 13th October 2012, 08:48 PM
  2. Common Dialogue Object not appearing?
    By Bipolar_Games in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 30th October 2011, 08:53 PM
  3. Place Object Randomly Within a Zone
    By Power2r in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 31st May 2011, 08:43 AM
  4. Objects Randomly Appearing in Editor/MMF Crash
    By dsilvers in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 22nd September 2009, 04:35 PM
  5. Object appearing at 0.0 briefly
    By TwistidChimp in forum The Games Factory 2 - Technical Support
    Replies: 6
    Last Post: 29th April 2007, 01:22 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
  •