camsr Posted December 16, 2013 Share Posted December 16, 2013 How can I set a condition that trips when the unit does a barrel roll or wing tips? I want to do this to signal a ground unit. It seems kinda lame to just use velocity and altitude. Link to comment Share on other sites More sharing options...
Cougar Posted December 16, 2013 Share Posted December 16, 2013 You could use mist and use mist.getRoll()....im not at home but certainly someone can give you the exact syntax.. Link to comment Share on other sites More sharing options...
camsr Posted December 16, 2013 Author Share Posted December 16, 2013 Is there a list of function around? also, I hate to ask, but is anyone able to get this working for me? I am not familiar with LUA Link to comment Share on other sites More sharing options...
Cibit Posted December 16, 2013 Share Posted December 16, 2013 http://forums.eagle.ru/showthread.php?t=98616 I think Speed has most of the links you need in his sig.:) i5 8600k@5.2Ghz, Asus Prime A Z370, 32Gb DDR4 3000, GTX1080 SC, Oculus Rift CV1, Modded TM Warthog Modded X52 Collective, Jetseat, W10 Pro 64 [sIGPIC][/sIGPIC] Adding JTAC Guide //My Vid's//229th AHB Link to comment Share on other sites More sharing options...
camsr Posted December 17, 2013 Author Share Posted December 17, 2013 the getRoll() will work, but I need to know how fast it gets called, maybe I can set up some bounds checking for wing tipping. Link to comment Share on other sites More sharing options...
Grimes Posted December 17, 2013 Share Posted December 17, 2013 If its used with just triggers its once a second. If you put it into a function you can call the function 1000 times a second if you wanted to. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum Link to comment Share on other sites More sharing options...
camsr Posted December 17, 2013 Author Share Posted December 17, 2013 I was also thinking I could use flags instead of polling. How could I set up a chain of flags?? But it would have to be in a LUA script? Link to comment Share on other sites More sharing options...
Recommended Posts