Hey Guys this may be usefull for some. i have seen recently other people complaining about export 'LoGet<somedatatype>'functions returning null.
In the file: dcs_ControlAPI.md related to the lua export api, it is advertised that the export data getter function LoGetNavigationInfo() should return data when the other getter: LoIsOwnshipExportAllowed() returns true.
and the example is given in the core export.lua of how we should call it.
when its called it it is always null. as shown below... if i remove the 'if Nav then..' wrapper, then i get an error that we cant index a null value. because the Nav object is null.
null
nullexported log: we see only the first part is exported.
This has been used by other people as i have seen this regularly used by other people on this forum and the dcs bios forum. ok dates are from wayback, like 2013 to 2017..such as @Capt Zeen and @McMicha
So it doesn't seem to be working with the F/A-18c. I need it for the ACS boolean(autoThrust) for an auto thrust module i have in a thrust lever unit for the f18.
Can anyone else verify if it works for them on the F18 or if it DOES work for them on other mods, FC3?
Maybe it only doesn't work on ED core aircraft for some reason.
If anyone at Eagle Dynamic reads this can you confirm the validity of this function on core mods lua export?
Any help appreciated
thanks
Jim