April 17, 20206 yr I couldn't add this to the existing Majestic Q400 LINDA page but if anyone needs to assign range controls to the Majestic Q400 (not just increase or decrease), here is the code. I'm not much of a coder but I figured if anyone needed it I should share. This would be used with a rotary switch instead of a toggle or similar. Just copy and paste this into your Majestic Q400 User Functions code file and you should be good to go. function Ped_range_10 () ipc.writeLvar("L:PED_CPT_RANGE_KNOB", 0) Ped_Range_show () end function Ped_range_20 () ipc.writeLvar("L:PED_CPT_RANGE_KNOB", 1) Ped_Range_show () end function Ped_range_40 () ipc.writeLvar("L:PED_CPT_RANGE_KNOB", 2) Ped_Range_show () end function Ped_range_80 () ipc.writeLvar("L:PED_CPT_RANGE_KNOB", 3) Ped_Range_show () end function Ped_range_160 () ipc.writeLvar("L:PED_CPT_RANGE_KNOB", 4) Ped_Range_show () end function Ped_range_240 () ipc.writeLvar("L:PED_CPT_RANGE_KNOB", 5) Ped_Range_show () end Dan
Archived
This topic is now archived and is closed to further replies.