User Tag List

Results 1 to 5 of 5

Thread: AND OR conditions

  1. #1
    No Products Registered

    Join Date
    May 2007
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    AND OR conditions

    Is it possible to use the OR operator to make events like this?

    On Loop "loop"
    AND
    Instance of Enemy == LoopIndex("Loop")
    Enemy HVel != 0

    AND
    Enemy is colliding with wall
    OR
    Enemy is colliding with ground

    or, in C-style syntax
    (A && B && (E || F))

    This sort of functionality would really help me out.

  2. #2
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: AND OR conditions

    Try more like: (A && B && E) || (A && B && F)
    I think.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on
    LIJI's Avatar
    Join Date
    Jun 2006
    Location
    Israel
    Posts
    1,175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: AND OR conditions

    We defiantly need ( and ) in the conditions.

  4. #4
    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: AND OR conditions

    I've always liked that idea too

  5. #5
    Clicker Fusion 2.5 DeveloperHTML5 Export Module

    Join Date
    Jun 2006
    Posts
    1,469
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)

    Re: AND OR conditions

    I added the same question to the convention list. We need better program control options like the "and" "otherwise" etc...

    It not that they are not there like the while object but they feel cumbersome to use at least by me.

Similar Threads

  1. Less VS More conditions
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 6th December 2011, 09:24 AM
  2. Two conditions for one event?
    By delta9857 in forum The Games Factory 2 - Technical Support
    Replies: 4
    Last Post: 5th November 2010, 07:38 AM
  3. Conditions for a Rebootrequest
    By Fritz_Bilda in forum Install Creator and Patch Maker
    Replies: 3
    Last Post: 6th October 2010, 11:08 AM
  4. What is Immediate conditions?
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 26th May 2009, 08:12 AM
  5. AND conditions
    By maestro1 in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 24th February 2008, 08:11 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
  •