Uhm, this would be my first attempt at Lua scripting. I do some php and javascript so it's not too hard to understand.
Correct me if I'm wrong, but export.lua seem to send values, I guess I want to import values?
I've tried this:
function LuaExportBeforeNextFrame()
-- Works just before every simulation frame.
-- Call Lo*() functions to set data to Lock On here
-- For example:
-- LoSetCommand(3, 0.25) -- rudder 0.25 right
-- LoSetCommand(64) -- increase thrust
LoSetCommand(69); -- deploy hook
end
doesnt affect the hook in the tomcat.
Sorry for the noobness. Any suggestions?