Jump to content
Sign in to follow this  
Guest Skymed

ZOOM CONTROL

Recommended Posts

Guest Skymed

I am trying to make a gauge to control the zoom factor.I cannot find any way to set the zoom at a specific setting, nor any way to read the actual zoom setting from the A:ZOOM_FACTOR. I can easily zoom in fine and zoom out fine, but cannot get it to stop where I want it to.I suspect I am chasing a ghost, but has anyone ever figured out how to set the zoom?Steve

Share this post


Link to post
Share on other sites

Steve,You can try it with a L:Var.Say:Startup(L:Zoom,number) 0 != if{ 0 (>L:Zoom,number) (>K:ZOOM_1X) } And then(L:Zoom,number) 1 - -5 max (>L:Zoom,number)(>K:ZOOM_OUT) (L:Zoom,number) 1 + 5 min (>L:Zoom,number)(>K:ZOOM_IN) Last but..Read (L:Zoom,number)Adapt the zoom scale with (L:zoom,number) + or -(the 5), dependant of zoom fine!Hope it helps,Jan"Beatus ille qui procul negotiis..."

Share this post


Link to post
Share on other sites
Guest Skymed

JanThanks I will give it a try.Steve

Share this post


Link to post
Share on other sites
Guest Skymed

It seems that no matter what I put in front of the (>K:ZOOM_OUT_FINE) it just zooms out till its maxed at 0.31. No stopping or slowing down, regardless of if I put a 0 or 1000 there.Steve

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...