I am trying to draw text and rectangles on the main camera view from the cockpit using Sketchpad objects. In the Help Lua documentation there is this statement:
In the following, skp is assumed to refer to a valid Sketchpad object.
But I have not seen how to make a "valid Sketchpad object" in Lua, so I am a little lost. It seems that skp is already defined if you are working with MFD scripts, but that does not appear to be the case for cockpit views from vessel scripts.
In the following, skp is assumed to refer to a valid Sketchpad object.
But I have not seen how to make a "valid Sketchpad object" in Lua, so I am a little lost. It seems that skp is already defined if you are working with MFD scripts, but that does not appear to be the case for cockpit views from vessel scripts.