Jump to content

airmanager dial_add knob


michaellev

Recommended Posts

Please advise how can I add one more event to dial add +1 on the second click.

dial_add(nil, 0, 5, 80, 80, function(direction)

 

if direction == 1 then

fs2020_event(unitvar .. "GoToPage-HOME-PageTraffic")

 

elseif direction == -1 then

fs2020_event(unitvar .. "GoToPage-HOME-PageMap")

end

 

 

sound_play(dial_snd)

end)

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...