for example, when creating a MeshBarrier via the menu selection, the macrorecorder returns Global_Menu.Global_Interface.Create MeshBarrier ()
using "MeshBarrier()" in a script works most of the time.
when creating a NavMesh, the macrorecorder returns
Global_Menu.Global_Interface.Create NavMesh ()
trying to execute "NavMesh()" in the listener spits out
-- Type error: Call needs function or class, got: undefined
I was wondering if there is a way to mimic the menuitem pressed action from the menuitem interface, possibly finding the menu, then submenu, then execute the command it calls within the plugin?