User Tag List

Page 2 of 4 FirstFirst 1 2 3 4 LastLast
Results 11 to 20 of 33

Thread: mmf2d AI

  1. #11
    No Products Registered

    Join Date
    Jan 2008
    Posts
    146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: mmf2d AI

    Direction->Look in the direction of...

    Then choose 'Relative to... foodobject'

  2. #12
    No Products Registered

    Join Date
    Nov 2007
    Posts
    92
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: mmf2d AI

    that almost works. it as far as i could get, that it won't turn after the orginal turn and so he just walks by it. how to make him turn to the food after he turned once is the problem.

  3. #13
    No Products Registered

    Join Date
    Jan 2008
    Posts
    146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: mmf2d AI

    use the condition 'always'... look in dir of

  4. #14
    No Products Registered

    Join Date
    Nov 2007
    Posts
    92
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: mmf2d AI

    tried that. it still won't work. then i fixed it up differnetly and he goes under the food
    X



    o
    (x food 0 him) and spazes out. literally starts to go in every dirction at once. this is what i got closest with
    always
    internal flag 1 on
    only one action when event lops
    -look in dir reletive food
    -cancel walking group.

  5. #15
    No Products Registered

    Join Date
    Jan 2008
    Posts
    146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: mmf2d AI

    I dont understand what the problem is exactly... Try to explain what happens and what is supposed to happen. Keep in mind I have no idea what your code looks like.

    What do you mean by "x food 0 him"? that makes no sense..

    May post the source code?

  6. #16
    No Products Registered

    Join Date
    Nov 2007
    Posts
    92
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: mmf2d AI

    x= the food and then the o= where he is.
    this is the code. - means event, not a condion. (no idea what a source code is.)

    always
    internal flag 1 on
    only one action when event loops
    -look in dir reletive food
    -cancel walking group.

    but what happens is yes he goes to the food once, and continues to bonce around. or at you last suggestion (in which i removed the last event,) he walked under where the food was and twiched back and forth. like he is trying to go 2 ways at once. of course he can't so he just sits there.

  7. #17
    No Products Registered

    Join Date
    Jan 2008
    Posts
    146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: mmf2d AI

    The source code is your .mfa file.

    This spazing out you are talking about probably happens when he reaches the food. He is walking back and forth over the food rapidly. You need to make him stop moving when he reaches the food.

    Try this:
    Code:
    Is X overlapping food?
    -Stop
    or this:
    Code:
    Is X overlapping food?
    -Set speed to 0
    You can get the 'is overlapping' condition by right-clicking X, select collisions->overlapping another object.

    You can get the 'Stop' action by selecting movement->stop under X.
    Set speed is also there.

  8. #18
    No Products Registered

    Join Date
    Nov 2007
    Posts
    92
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: mmf2d AI

    one problem. the chao is maybe... 100.. 150 pixels down frame. i think he's lined up with the food but... it doesn't matter, i fixed that. what i need is how to make him turn in to the food after the inital turn.

  9. #19
    No Products Registered

    Join Date
    Jan 2008
    Posts
    146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: mmf2d AI

    Well unless you post your source code I can't figure out how to help you.

  10. #20
    No Products Registered

    Join Date
    Nov 2007
    Posts
    92
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: mmf2d AI

    ok i will. one thing though. i erased all codes relating to food because something in hunger was makeing him, after sleeping, walk away from his course. i don't know what was wrong but maybe you can find it. i also need to do it my self so please don't finish it and give it back.. .
    tell me
    do you want the hunger codes in there?
    how do i give you the soure code?

Page 2 of 4 FirstFirst 1 2 3 4 LastLast

Similar Threads

  1. Buttons over all MMF2D
    By Ninjustsu in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 13th October 2008, 07:34 AM
  2. mmf2d chat help
    By Ninjustsu in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 21st February 2008, 11:41 PM
  3. rpg help for mmf2d
    By Ninjustsu in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 9th December 2007, 10:38 AM
  4. MMF2 to MMF2D
    By MetalOS in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 10th January 2007, 12:53 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
  •