Hello my name is Ian and i am new with LINDA and Lua , yesterday I was working on a script for my brother,he show the original script,in XML.
This is the script:
(L:CDI source selected, enum) 1 ==
if{
(A:NAV1 radial, degrees) (A:Plane heading degrees gyro, degrees)
(>K:VOR1_SET)
}
(L:CDI source selected, enum) 2 ==
if{
(A:NAV2 radial, degrees) (A:Plane heading degrees gyro, degrees)
(>K:VOR2_SET)
}
(P:Absolute time, seconds) (>L:time crs changed, seconds)
The script changes the Nav 1 or Nav 2 heading to the actual curse of the plane,i think that this value is on the degrees variable,so, my trouble is ,is there any function on LINDA to get that value?I find the function to set the VOR1 or VOR2 and the function to set the Heading degrees gyro but it doesn't work at all because I have to use a static float number.
Thanks for the help.