This was valid syntax (from Kerbin Return Script by olex)
mechjeb.attitudeTo("up", "SURFACE_NORTH") -- vertical ascent
it gives the error:
Coroutine exception: Exception - usage: attitudeTo(vector, reference)
Took me a while to figure out why my autom8 scripts were no longer working
This can be seen in the source due to the lines:
if ((arg.Count() != 2) || !(arg[0] is LuaTable))
{
throw new Exception("usage: attitudeTo(vector, reference)");
}
The syntax now must be: mechjeb.attitudeTo({0,0,0}, "SURFACE_NORTH")
(though I'm not sure that in this case {0,0,0} is equivalent to "up")
Please eirther restore the gunctionality of allowing a string for a direction or publish a conversion table
so that we can fix our autom8 scripts
Thank