steve2112 Posted November 20, 2016 Posted November 20, 2016 (edited) hi, is there any reason you can think of why this isn't working AfterNextFrame=function(self) local pitch, bank, yaw = LoGetADIPitchBankYaw() env.info(string.format("pitch=%f roll=%f", pitch, bank)) ... etc in exports.lua? i don't see pitch= in DCS.log file but i do see this 00042.548 ERROR Lua::Config: Call error LuaExportStart:[string "C:\Users\me\Saved Games\DCS.openalpha\Scripts\Export.lua"]:29: attempt to index global 'env' (a nil value) so i guess i need to initialize env somewhere? thanks Edited November 21, 2016 by steve2112 My kit: i7-4790K@4GHz / 8GB - GTX 980ti + rift CV1 - X52 pro - Multi Keyboard Remapper - 2DOF motion sim (in development)
Recommended Posts