OR picking bug

0 favourites
  • 2 posts
From the Asset Store
Match same tiles with each other as fast as you can and earn more score during a limited time!
  • Problem Description

    Event fails to fire due to an OR block.

    Attach a Capx

    https://onedrive.live.com/redir?resid=7 ... ile%2ccapx

    Description of Capx

    It should print tickcount to the text object every tick, but fails to do so.

    Steps to Reproduce Bug

    • create an Or where one condition is true and another is false.
    • then a sub-event that references the false condition's object.

    Observed Result

    object doesn't get picked?

    Expected Result

    tilemap should get picked and event fire.

    Affected Browsers

    • Chrome: (YES/NO)
    • FireFox: (YES/NO)
    • Internet Explorer: (YES/NO)

    Operating System and Service Pack

    win vista

    Construct 2 Version ID


  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Closing as not a bug. This is a common misunderstanding of OR blocks.

    The OR block runs because the system expression is true. No Tilemap instances matched the "Tile (1, 0) = 0" condition, so there are zero instances picked. Testing a condition with zero instances picked cannot find that any are true, so the event does not run.

    If it worked like you wanted, it would mean running actions on instances which did *not* meet the event conditions, which entirely contradicts the way events work.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)