You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently trying to change the parameter "Longitunidal stick" of an AI aircraft using the function sendCTRL to make the plane turn.
The function is called as follows : sendCTRL( [-998, 0.5, -998, 0.14, 1, -998], 2 ).
When using aircraft index 2, the value of long stick (0.5 here) is not correctly applied to the ai aircraft. Eventhough the log seems to show that it is working, the value is actually still at 0 (seen with getCTRL).
When using the same command with index 0 (player aircraft), the long stick value is correctly modified.
Does anyone have any idea of how to fix this ?
Precisions :
I have set override_planepath to False and override_ai_autopilot to True for all aircrafts.
For ai aircrafts, other parameters like gear deployment or throttle are strangely set correctly by sendCTRL. Thus it seems that the function is only partially working in that case.
I already tried to use the dref [sim/multiplayer/controls/yoke_heading_ratio] to get the same result but it is not doing anything at all on the plane.
Thank you
The text was updated successfully, but these errors were encountered:
Hello,
I am currently trying to change the parameter "Longitunidal stick" of an AI aircraft using the function sendCTRL to make the plane turn.
The function is called as follows : sendCTRL( [-998, 0.5, -998, 0.14, 1, -998], 2 ).
When using aircraft index 2, the value of long stick (0.5 here) is not correctly applied to the ai aircraft. Eventhough the log seems to show that it is working, the value is actually still at 0 (seen with getCTRL).
When using the same command with index 0 (player aircraft), the long stick value is correctly modified.
Does anyone have any idea of how to fix this ?
Precisions :
Thank you
The text was updated successfully, but these errors were encountered: