User Tag List

Results 1 to 9 of 9

Thread: can't negate

  1. #1
    No Products Registered

    Join Date
    May 2010
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    can't negate

    ok so i'm using mulitmedia fusion developer 2 demo (because i have the real thing on my school comp and didnt want to buy it myself. for some reason it is not allowing me to negate events, which is very frustrating... any solutions? other than to buy the real thing...

  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: can't negate

    Which events are you trying to negate? Not all events can be negated. For example triggered events such as when two objects collide cannot get negated. However you can negate the condition that tests if two objects *overlap*.

  3. #3
    No Products Registered

    Join Date
    May 2010
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: can't negate

    I'm trying to negate if a alternate variable is different from a number. so

    -- Variable A of [object] <> 0 --

    which is the same as Variable A = 0, but that isn't responding for some reason, unless its just a problem with my formatted text box. Basically what's happening is i have a character standing in the screen, and when you're within 90 pixels of him and press "spacebar" then he speaks, but he has about 10 different responses and I want to cycle through them. So what I did was make it so that when I'm within 90 pixels of him, it starts a group "talking to person" and then based on what his alternate variable is, it gives a different response, but they all are popping up and then they aren't behaving and u cant read them, you can just see the scroller... I was going to try to negate a "different" equation because I've had it work with little stupid stuff like that before, but I guess I probably can't negate "different" equations.

  4. #4
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: can't negate

    You can't negate that type of condition even in the full version of MMF2.

  5. #5
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: can't negate

    The "different than" comparison is essentially the way you negate "variable = 0" so you wouldn't negate it in the first place.

  6. #6
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: can't negate

    mobichan is right, I didn't think to say that because I thought it was obvious. Don't see why you'd need a negate for variable functions.

  7. #7
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleXNA 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)
    gkinfinity's Avatar
    Join Date
    May 2011
    Location
    USA
    Posts
    284
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: can't negate

    Yeah Splicel actually mentioned that negating 'Alt Value A of object <> 0' is the same as saying 'Alt Value A = 0'

    And it makes sense that you wouldn't be able to negate that event since you can create another event which would have the same effect (and is much simpler).

    It sounds to me like there's some other kind of problem with your code. You could try posting in more detail what you want to happen and how you're currently trying to get that to happen (event wise) and someone should be able to help you out. You could post an example file of some kind too and I'd be willing to look over it.

  8. #8
    Clicker Multimedia Fusion 2 DeveloperInstall Creator Pro
    Corlagon's Avatar
    Join Date
    Jul 2006
    Location
    a basement in Muenster
    Posts
    70
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: can't negate

    Quote Originally Posted by gkinfinity
    Yeah Splicel actually mentioned that negating 'Alt Value A of object <> 0' is the same as saying 'Alt Value A = 0'
    It is only the same if the object is unique.

    I recently had a situation where I had to determine whether /all/ of the remaining instances of an object had a flag off. That was more complicated than it should be. :-(

  9. #9
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: can't negate

    Well, as things are now, it's a bit more complicated than it perhaps should be, so a workaround is the best solution for now.

    Here's a solution useful in situations where you don't deal with a lot of conditions. Name a global value "Else". I always do since I tend to repeatidly use this technique, even in a single project.

    * Always - Set Else to 1
    * If Alt Value A=0 - Set Else to 0
    * If Else=1 - Perform your actions

    Here's another one useful if you need more conditions.

    * On your conditions - Open group Blah
    [Blah]
    * If Alt Value A=0 - Close Group Blah
    * Always - Perform your actions and close group Blah
    [/Blah]

Similar Threads

  1. [Bug 33] Negate Conditions Not Work
    By kiko in forum Android Export Module Version 2.0
    Replies: 4
    Last Post: 14th September 2012, 05:17 PM
  2. negate overlapping
    By wizlore in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 24th November 2011, 02:10 PM
  3. Is there a way to Negate a string?
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd January 2009, 09:09 PM
  4. Why can't I negate anything?
    By fawfulfan in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 23rd December 2008, 05:14 PM
  5. Since we cannot negate object collisions...
    By Tuna in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 18th March 2008, 05: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
  •