Sign in to follow this  
Guest Skymed

ZOOM CONTROL

Recommended Posts

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
Help AVSIM continue to serve you!
Please donate today!

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

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