Kevlon Posted April 29, 2020 Share Posted April 29, 2020 (edited) Hi all. Bought the Warthog Throttle. And I am having a go at scripting, its pretty fun. Just reading the manual atm. My plan is to make a working script for the Harrier. good times :) One question about the MapAxis optional parameters. with the slew axis I wrote this : MapAxis(&Throttle, SCX, DX_XROT_AXIS, MAP_RELATIVE); MapAxis(&Throttle, SCY, DX_YROT_AXIS, MAP_RELATIVE); But when I test it in the device analyzer, they return to the center. I thought they were supposed to stay at the maximum or minimum value reached until you change your movement direction. That is what the manual says anyway, what am I doing wrong? Solved it, it should be this: MapAxis(&Throttle, SCX, DX_XROT_AXIS, AXIS_NORMAL, MAP_RELATIVE); MapAxis(&Throttle, SCY, DX_YROT_AXIS, AXIS_NORMAL, MAP_RELATIVE); I was missing one parameter Edited April 29, 2020 by Kevlon [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
Kevlon Posted April 29, 2020 Author Share Posted April 29, 2020 New problem. How do I get the EXEC to run on line 49 here? How can I combine it with the CHAIN? It's not setting the value on the flag. [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
Recommended Posts