Sign in to follow this  
Guest bones

Sequential bitmaps?

Recommended Posts

Can a Click event be used to trigger more than one bitmap? For a spring loaded switch (self centering) could the click trigger a switch down bitmap followed, a second later, by the switch moving back to center?

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Sure, but if you're talking about a spring-loaded switch, you'd probably want it to go back to the original bitmap on a mouse release, rather than some kind of timer. (L:Switch Position, bool)(M:Event) 'LeftSingle' scmp 0 == if{ 1 (>L:Switch Position, bool) }(M:Event) 'LeftRelease' scmp 0 == if{ 0 (>L:Switch Position, bool) } (M:Event) 'Leave' scmp 0 == if{ 0 (>L:Switch Position, bool) }The "Leave" event may or may not be necessary depending on how you would want the switch to operate.--Jon

Share this post


Link to post
Share on other sites

Thank you Jon - and you are right about returning to the original bitmap.The gear lever on some aircraft returns automatically to the centre position once the gear is up or down - effectively to stop the hydraulic system from continually pushing fluid around the system at high PSI. All I was trying to do was click the gear lever, have it show my selection and then, fractionally later, return to the default position. I'll give your code a try.

Share this post


Link to post
Share on other sites

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
Sign in to follow this