Picking Problems

Get help using Construct 2

Post » Fri Jul 27, 2012 4:47 pm

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...GLaDOS90002012-07-27 20:19:50
B
4
Posts: 8
Reputation: 341

Post » Fri Jul 27, 2012 6:48 pm

Come on guys I need this for a project :/
B
4
Posts: 8
Reputation: 341

Post » Fri Jul 27, 2012 8:19 pm

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! ^_^
B
4
Posts: 8
Reputation: 341


Return to How do I....?

Who is online

Users browsing this forum: anty21ro, Magistross, PavleNikolic and 20 guests