Jump to content

Recommended Posts

Posted

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?

Posted

well that would press the button every frame.

Don't know if it is such a good test...

but i dont think the command will help though

S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'

Posted (edited)

Hmm, nevermind. I had a fixation that the AI F-14 would have the F-15's cockpit. It's the SU-27 so it's useless anyhow, since VNAO did the '33 mod with working hook.

 

I just thought it may be possible from the exterior.

 

Thanks for looking, though.

Edited by RipKirby
just wanted to say thanks.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...