Playmaker Forum
PlayMaker News => General Discussion => Topic started by: Kothe on January 30, 2017, 05:09:20 AM
-
Hi. I´m using a UI Dropdow but only can find ON INT VALUE CHANGED to get an Event. The problem is that no matter wich OPTION A, B, C...its checked, you get the same Event. How I have to do to get an event per Option ?
OPTION A ---"event A"
OPTION B ---"event B"
OPTION C ---"event C"
----
THX
-
I have made a "cheap" solution.
Get property_ String of the label component.
Then String compare
-
The "cheap tickets" solutions are the best ;D
-
Hi,
The ON INT VALUE CHANGED has it's event data set so that it represent which index is selected, that's how it works. You need to use GetEventInfo action for this.
Bye,
Jean
-
Not entirely related, but since you're already talking about the UI dropdowns:
Is there a way to populate a UI dropdown in runtime? I've only experimented with it a little bit but could not find a way to do so and resorted to a rather messy way to make my own dropdowns because of that.^^
-
Hi,
Good point: done (https://twitter.com/JeanAtPlayMaker/status/831063551217381377)
simply update the package from the Ecosystem
Bye,
Jean
-
Awesome, thank you so much. :)