User Tag List

Results 1 to 2 of 2

Thread: Need help!

  1. #1
    Danil445
    Guest

    Need help!

    Hey I am new on the forums, I need some help with MMF2. I have several questions.

    1) I choose 'Always' and 'Center window position in frame' at 0,0 on an object, and my field is bigger as the play area, still the screen doesn't follow the object! What's the problem?

    2) How do I link frames with each other? Like, you choose a weapon in frame 1, and you use it in frame 2?

    3) Chances. If you kill something, you might get something, like 20% chance. How do I put chances to get things?

    Thanks in advance!

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help!

    Hello, welcome to the community!

    It sounds like you have the same problem with scrolling as the last time this problem was posted - what do you mean by "field"? To allow scrolling to happen, your frame size must be bigger than the window size. Either click on the frame in the Workspace Toolbar and increase its size, or go to the Storyboard editor and change it from there.

    You don't "link" frames with each other in the sense that you're describing, but to transfer information between them, you can either use a save file (search the forums - there are many ways to do this) that's saved in one frame and loaded in the next, or you can use Global Values and Strings (in Application Properties). Set a global value/string to something identifying the weapon when you select it, and use that value in frame 2 to decide which weapon is needed.

    Chances can be done in a couple of ways - there's a condition "X chances out of Y at random" under the Special object that will add a chance to the actions of an event happening (right-click on an existing event and click "Insert" to add it) or you can generate a ranom number with the random(n) expression (which picks a number from 0 to n-1) and compare against it.

Posting Permissions

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