User Tag List

Results 1 to 6 of 6

Thread: strange count alterable value.

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    strange count alterable value.

    hi

    i was about to give an object , few alterable values, and the first 2 are ok, i reneamed them and gave them values and they are working well, but when it comes to the alterable number 3..it count's very strange..lets say i gave it the value of 7 and i coded line like this "eatch time there is a coliision between this object and anothere, subtract 1 from alt value 3" and insted of sub only 1..it sub 3 what the hell is going on ?
    anyone?

    p.s-i know that the first 2 are working fine casue i gave counter the value's so i can detect how it goe's.

  2. #2
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: strange count alterable value.

    Hmm, what exactly do you name your alterable values?

  3. #3
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: strange count alterable value.

    Multiple collision events can be called at the same time if it collides with many objects, make sure that this isn't the problem.
    Otherwise you could upload the file so that we can take a look to find out what's wrong.

  4. #4
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: strange count alterable value.

    thanks for very fast reply

    i named it like this:

    "hits"
    or
    "enemy hits"
    and the third i used the default
    "alterable value c"

    the ditection is for the enemy bullets that hit's an explosive and eatch bullet sub 1 and when alterable val=x then explode ...

    so is this what you call Multiple collision events? btw..i have two kinds of bullets and i am going to do anothere one.

    p.s..i tested the problem with one kind of bullets (disabled the othere) and the problem was still there.

  5. #5
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: strange count alterable value.

    If an object collides with multiple other objects at the same time the event will be triggered multiple times.
    Make sure that only one bullet is created so that there isn't 3 bullets hitting the explosive at the same time.
    Or, if the bullet has a Disappearing animation it might be on screen long enough to collide 3 times before it is completely removed.

  6. #6
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: strange count alterable value.

    ok..i think the problem was that few bullet objects hited the explosive at the same time..also i had to limit the condition to once when event loops
    works fine now

    thanks guys

Similar Threads

  1. Really strange. Count of objects bug?
    By KLiK-iT in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 5th March 2013, 10:12 PM
  2. Strange thing: If Enemy Alterable Value A = Enemy Alterable Value B
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 26th March 2012, 05:29 PM
  3. Count of objects where Alterable Value = n
    By Keith in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 27th December 2011, 10:24 PM
  4. Newgrounds count vs. mochi count
    By Tuna in forum SWF/Flash Export Module Version 2.0
    Replies: 9
    Last Post: 20th September 2010, 08:37 PM
  5. Count the number of Alterable strings
    By Attan in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 3rd October 2007, 09:32 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
  •