madfred Posted May 10, 2012 Report Posted May 10, 2012 Hello, How can I get a delay in actions combined in one macro? Example: Aircraft with two pitot heat switches. I created one macro to control both switches. Instead of them both switching at the same time, I would like to see the second switch move a few seconds after the first one. Is there a way to do this? I went through the FSUIPC documents several times and even searched for a sollution on this forum, but could not find it. I appreciate and constructive response
Pete Dowson Posted May 16, 2012 Report Posted May 16, 2012 How can I get a delay in actions combined in one macro? You'd need a small Lua plug-in instead of a macro. Just use ipc.control twice with an ipc.sleep between. Regards Pete
madfred Posted May 24, 2012 Author Report Posted May 24, 2012 Hmm, Guess I now have to read up on how to use a lua plug-in. Thx Pete, I will look in to that.
Pete Dowson Posted May 24, 2012 Report Posted May 24, 2012 Hmm, Guess I now have to read up on how to use a lua plug-in. They are quite straightforward -- in factr more readable than macros. There are a lot of exaples provided in the package installed in your FSUIPC Documents folder (in the Modules folder), and even more contributed by Users in the User Contributions subforum. Regards Pete
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now