Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started 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
-
Can you upload a demo on how it works ?
-
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
-
Hi,
can you up lode small demo for Popuplist.
thanks in advance
-
hi,
sorry guys for disturbing.i found the solution. ;) ;D
-
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.
-
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
-
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 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.
-
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
-
I see !!! Thank you ! Finally, I understand how it works now . I'm been so stupid ;D
That's cool, Thank you again !