Jump to content
The simFlight Network Forums

Recommended Posts

Posted

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

Posted

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

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.