User Tag List

Results 1 to 3 of 3

Thread: A way to activate a random group on a specific action

  1. #1
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Mar 2014
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    A way to activate a random group on a specific action

    Hi all,

    I have a problem that's been frying me, hopefully you can help?

    I have a number of power-up actions in my game, all of which are housed separately under individual event groups.

    The main power-up trigger event is outside all of these - basically a collision between player and power-up object. What I'm trying to get to happen is when this even occurs a random power-up group is selected.

    I can't get to grips with how to do this.... any suggestions would be appreciated!

    Thanks
    Bidbox

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    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)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    Hey!
    There's no direct way to select a random group, but you can do something like this:
    On the event where a powerup should be selected, deactivate all powerups and set a value to Random(Number of Powerups) +1.
    If the value is 1, activate Powerup 1, if it's 2, activate Powerup 2 and so on..

  3. #3
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Mar 2014
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cheers Popcorn, that works brilliantly!

Similar Threads

  1. Replies: 4
    Last Post: 7th February 2015, 01:46 AM
  2. activate group via expression?
    By oasuke in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 26th January 2012, 02:11 AM
  3. Activate group {name} with expression?
    By Kingoftaurus in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 27th May 2010, 01:09 AM
  4. 'Activate a Group of Events' causes MMF to CRASH
    By Mico in forum Multimedia Fusion 2 - Technical Support
    Replies: 19
    Last Post: 22nd April 2009, 04:26 PM
  5. Activate/deactivate group list - scrollable?
    By Tiny in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 2nd May 2008, 11:51 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
  •