Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: vidi on May 19, 2013, 04:44:30 PM

Title: NGUI Popuplist (SOLVED)
Post by: vidi on May 19, 2013, 04:44:30 PM
Hi, I  have no Idea how I trigger the NGUI popuplist with playmaker .
I have tried with get and set (List selection) , but without success.
Is here a example already?

Thank you for help !

Edit: I found the answer self. :)
Sometimes I think too complicated. :o

Solution > Get property selection
                 store string and compare
Title: Re: NGUI Popuplist (SOLVED)
Post by: cmvrgr on May 28, 2013, 04:45:40 PM
Can you upload a demo on how it works ?
Title: Re: NGUI Popuplist (SOLVED)
Post by: jeanfabre on May 29, 2013, 02:24:20 AM
Hi,

 I also just updated the playmaker proxy for this, and now you can get the selection directly.

https://hutonggames.fogbugz.com/default.asp?W1111

bye,

 Jean
Title: Re: NGUI Popuplist (SOLVED)
Post by: play_edu on May 29, 2013, 07:29:27 AM
Hi,

can you up lode small demo for Popuplist.


thanks in advance
Title: Re: NGUI Popuplist (SOLVED)
Post by: play_edu on May 29, 2013, 09:49:41 AM
hi,

sorry guys for disturbing.i found the solution. ;) ;D

 
Title: Re: NGUI Popuplist (SOLVED)
Post by: vidi on May 30, 2013, 09:05:46 AM
Quote
Hi,

 I also just updated the playmaker proxy for this, and now you can get the selection directly.

Hmm? I have no Idea to use this selection proberty . I understand on click... press ... etc event, but not this selection thing.
Title: Re: NGUI Popuplist (SOLVED)
Post by: jeanfabre on May 31, 2013, 02:04:07 AM
Hi,

 NGUi fires a special call when you use a popup list that only fires when you selected something within a popup list,

You can find a working examples here:

http://hutonggames.com/playmakerforum/index.php?topic=1356.msg18772#msg18772

This examples shows mores about the actual set up you need, but it implements the selection change you mention.


bye,

 Jean
Title: Re: NGUI Popuplist (SOLVED)
Post by: vidi on June 10, 2013, 02:29:36 AM
Quote
NGUi fires a special call when you use a popup list that only fires when you selected something within a popup list,


Yes I know, and it work for me if I do how I describe in  my  the first post .

But I want now to know  what you mean with   
Quote
just updated the playmaker proxy for this, and now you can get the selection directly.

I upload your example file  and it  confuse me  now more as before .

I dont not understand how I trigger a action with this.
Title: Re: NGUI Popuplist (SOLVED)
Post by: jeanfabre on June 10, 2013, 02:38:13 AM
Hi,

 I meant that now, getting the selection is possible, previous version of this bridge did not implement listeners for NGUI pop up selection changes.

Your popup list has to target the gameobject where this bridge is present, in the brigde you target the playmaker fsm you want to pass events to, and in that fsm you add global transitions ( they are all created for you already, you need to navigate in the transition menu to find them)


bye,

 Jean
Title: Re: NGUI Popuplist (SOLVED)
Post by: vidi on June 12, 2013, 04:49:28 AM
I see  !!! Thank you ! Finally,  I understand how it works now . I'm been so stupid ;D

That's cool, Thank you again !