Author Topic: ML Menu open()  (Read 575 times)

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 1736
ML Menu open()
« on: December 05, 2017, 03:34:02 PM »
We have close() to close the ML menu, but unless I've missed it, we don't have open(), ie to open the ML menu from a script.

On the next Lua fix update it would be great to see this feature.

Cheers

Garry

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12224
  • Maintenance mode
Re: ML Menu open()
« Reply #1 on: December 05, 2017, 03:43:29 PM »
It's there (see api_test.lua). For some reason, it's missing from the docs...

edit: it was a typo in the comments (the docs are built from code comments).

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 1736
Re: ML Menu open()
« Reply #2 on: December 05, 2017, 03:46:30 PM »
@a1ex

Thanks...works a treat  :)