User Tag List

Results 1 to 7 of 7

Thread: n00b Question on Random Events

  1. #1
    No Products Registered

    Join Date
    Apr 2008
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    n00b Question on Random Events

    'Sup, guys. I've been trying to work on this boss battle for a while, now, and I'm trying to figure out the best way for the boss to have working attack patterns. I assume the Randomizer Object can help me here, but I'm not even really sure how to use it.

    For instance, sometimes I want the boss to have a "waiting" event (to give the player time to get off potshots at least), sometimes it does "Attack 1," sometimes it does "Attack 2," and so on. I was going to do this by just using timers and different movements as the frame continues on, but I don't want the boss's attacks to be predictable, so I'm trying to randomize his patterns.

    Can anyone help me out with this? I'd appreciate it.

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: n00b Question on Random Events

    If you make an event, and in the expression type:

    Random(5)

    It will generate a number between 0 and 4 (so it produces 5 numbers, as we stated in the brackets). Now, if you include this as the boss is about to perform an action, each number could be a different attack. So you could do:

    Set counter to random(5)

    If counter = 0 : do nothing

    If counter = 1 : do main attack

    If counter = 2 : jump

    etc.

    Instead of using a counter, you could use one of the boss objects alterable values (counters which are unique to that object).

  3. #3
    No Products Registered

    Join Date
    Apr 2008
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: n00b Question on Random Events

    And if I were to do this in such a way that utilizes probability in the meantime, how would I do that?

  4. #4
    No Products Registered

    Join Date
    Apr 2008
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Path movement issue.....

    Also, I'm having another problem, and I don't know whether or not this may be a glitch. But I'm trying to edit an object's path movement, but whenever I try to edit it, the points keep darting around the workspace, practically to the point where I can't even see where they're coming from (even though the object itself is still, say, in the frame).

    What can I do about this?

  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Path movement issue.....

    For the paths, are you using a mousewheel to scroll when you're editing? I've done that, and it messes things up...

  6. #6
    No Products Registered

    Join Date
    Apr 2008
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Path movement issue.....

    I might have. I tried to recreate this with other objects to figure out what I did wrong, but with no luck.

    Also, MMF2 REFUSES to allow me to delete the active that I'm having trouble with. I delete it from the frame and all, but when I delete it from the workspace completely, it will not delete. MMF2 won't even ask me to delete it despite it being referenced in other events. It's just stuck for some reason.

  7. #7
    No Products Registered

    Join Date
    Dec 2006
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Path movement issue.....

    Assuming there is no glitch, this is because there is an event somewhere creating the object.

Similar Threads

  1. Wicked n00b question concerning developing for XBOX Live
    By Del_Duio in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd October 2013, 01:16 PM
  2. MMF2 N00B HELP!!!!!!!!
    By regs23 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 6th August 2009, 04:55 AM
  3. MMF 2 n00b
    By parkaboy in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 22nd May 2007, 10:08 AM
  4. N00b
    By Heetu in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 25th November 2006, 11:57 AM

Posting Permissions

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