playMaker

Author Topic: NGUI Popuplist (SOLVED)  (Read 8084 times)

vidi

  • Playmaker Newbie
  • *
  • Posts: 21
NGUI Popuplist (SOLVED)
« 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
« Last Edit: May 19, 2013, 08:04:53 PM by vidi »

cmvrgr

  • Junior Playmaker
  • **
  • Posts: 64
Re: NGUI Popuplist (SOLVED)
« Reply #1 on: May 28, 2013, 04:45:40 PM »
Can you upload a demo on how it works ?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: NGUI Popuplist (SOLVED)
« Reply #2 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

play_edu

  • Full Member
  • ***
  • Posts: 116
Re: NGUI Popuplist (SOLVED)
« Reply #3 on: May 29, 2013, 07:29:27 AM »
Hi,

can you up lode small demo for Popuplist.


thanks in advance

play_edu

  • Full Member
  • ***
  • Posts: 116
Re: NGUI Popuplist (SOLVED)
« Reply #4 on: May 29, 2013, 09:49:41 AM »
hi,

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

 

vidi

  • Playmaker Newbie
  • *
  • Posts: 21
Re: NGUI Popuplist (SOLVED)
« Reply #5 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.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: NGUI Popuplist (SOLVED)
« Reply #6 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

vidi

  • Playmaker Newbie
  • *
  • Posts: 21
Re: NGUI Popuplist (SOLVED)
« Reply #7 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.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: NGUI Popuplist (SOLVED)
« Reply #8 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

vidi

  • Playmaker Newbie
  • *
  • Posts: 21
Re: NGUI Popuplist (SOLVED)
« Reply #9 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 !