Author Topic: Popup List  (Read 6551 times)

gamedivisionuk

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 36
    • View Profile
Popup List
« on: June 02, 2012, 04:29:34 PM »
how do i access the individual buttons on a popup list as they are created at runtime,im not a scripter im using playmaker with NGui,


thanks

MetaMythril

  • Guest
Re: Popup List
« Reply #1 on: June 02, 2012, 04:57:37 PM »
Does playmaker allow you to get reference to objects? I don't see how you could do it without scripting to cache the created objects. The only other way I could think of would be to create the objects with a unique name for each so that you could some method in playmaker to find them.

gamedivisionuk

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 36
    • View Profile
Re: Popup List
« Reply #2 on: June 02, 2012, 05:44:26 PM »
playmaker lets you get property and set property,the only other way i thought of was to use playmode persist and while im in playmode add an fsm to each of the buttons

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Popup List
« Reply #3 on: June 02, 2012, 09:55:26 PM »
Why would you want to get buttons of a popup list?

gamedivisionuk

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 36
    • View Profile
Re: Popup List
« Reply #4 on: June 03, 2012, 04:05:19 AM »
im using it for a submenu type of thing,so i choose from a manufacturer,then i choose the products of that manufacturer from the sub menu,so each would need to have a registrable touch,is there anyway to alter the code to show them in the menu,once i can see them then i can add a touch event on each using playmaker

Why would you want to get buttons of a popup list?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Popup List
« Reply #5 on: June 03, 2012, 02:26:15 PM »
I suggest just listening to the item selection, and when you get it, open up another popup menu -- this time with a new list.