playMaker

Author Topic: Dropdown UI Strange Behaviour  (Read 1185 times)

gregacuna

  • Full Member
  • ***
  • Posts: 143
Dropdown UI Strange Behaviour
« on: December 28, 2016, 11:31:11 PM »
Hi All,

I read an earlier post about connecting a UI Dropdown to an FSM (http://hutonggames.com/playmakerforum/index.php?topic=11854.0) and was able to use UGUI / ON INT VALUE CHANGED to Get Event Info to pass the Int Data...BUT it is acting very strangely and the values seem to change based on what is chosen the first time. I'm quite confused.

I have a drop down with four languages (English, Hindi, Gujarati and Spanish). In the drop down they are in that order with the Value set to 0 (which should be the value of the first one in the list.

When I play both in the editor and an Android build when I choose they don't come up in order even though I have them set to 0,1,2,3. I'm guessing this has something to do with the initial setting, but haven't figure out what I'm doing wrong. I added "Default" at the top and if I choose the languages in the right order when I start then they seem to work okay.

Any help would be greatly appreciated. Thanks!