User Tag List

Results 1 to 2 of 2

Thread: Condition not working

  1. #1
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Condition not working

    I have a very strange problem ...

    So I have the following Condition:

    *User clicks with left button
    + Mouse Pointer lays within a zone ...
    + ItemID of (aItemPickedUp) > 0
    + (aMouseCursorInventory4) is NOT overlapping (aItem)

    So in my game this drops an Item on the Iventory grid. This works if there are more then 2 Items on the Grid. Once you pickup the last one and try to drop it, it will no longer work.

    So what I already checked:

    Left click and zone are ok, the ItemID > 0 is also ok as I have a counter running showing the value.

    What's causing the problem is the last Condition. If I remove it it works fine. However I cannot remove it otherwise you could drop items over each other and that is not my intention.

    I also double checked that there are no (aItem) objects on the screen or anywhere, the object counter for them is -0-.

    So whats the deal? I don't unterstand why it is not working.

    The Mousecursor objects is aligned to a Easy Grid and is invisible, could that be a problem?

    Any ideas appreciated ...

  2. #2
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Condition not working

    + (aMouseCursorInventory4) is NOT overlapping (aItem)

    This cannot be checked because no aItem object is on the screen so MMF decides this is negative and therefore my condition can never be true if the object count of aItem = 0.

    Solution:

    objcount(aItem) = 0 --> create (aItem) somewhere outside the frame

    Im not sure if this is a bug or a feature.

Similar Threads

  1. Else condition
    By FMistakes in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 27th July 2013, 10:22 AM
  2. Condition "If object A is NOT overlapping Object B" not working right
    By StardustSpeedman in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 19th October 2012, 09:29 AM
  3. Help condition
    By Misix in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 22nd December 2011, 03:49 PM
  4. Mouseover condition stopped working
    By Kracker in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 13th May 2011, 08:28 AM
  5. swf condition
    By Skyhunter in forum SWF/Flash Export Module Version 2.0
    Replies: 4
    Last Post: 5th November 2010, 02:13 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
  •