Picking Problems

0 favourites
  • 3 posts
  • So I have this application I've made that displays data from an XML file on stickynotes on a scrollable bulletinboard. When the stickynotes are created, one is made for each node in the xml, and they're each assigned different nodes to display. When doubleclicked, they expand and show additional information. They can be closed by doubleclicking again. I'm trying to make it so that when you try to open a note when one is already open it closes the other one then opens the one you clicked. I can't get this to work. It seems that it's not picking the right instance when I tell it to.

    EDIT

    I fixed it...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Come on guys I need this for a project :/

  • Solved my own problem...which I found out was a stupid mistake....

    I re-read the manual on picking instances and on how events work over and over and eventually I realized I wasn't resetting the picked instances between sub-events like I needed to. I added in some pick all events in between and now it works! ^_^

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