Sign in to follow this  
Guest JR Morgan

API/Macro/Polygon Detail

Recommended Posts

Using Airport, if I wish to change the "Detail Level" of one of the above I can just select it and choose " Very Sparse, Sparse, Normal,etc.,To do this in scasm, is "Very Sparse" 1.00 and "Normal" 0.31 as seen in the RefPoint line?I want to edit some hangers and polygons from within the scasm file.:-jumpy I'm gonna learn this scasm. :-yellow1:-lol Don't laugh. :-lolThanks

Share this post


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

No, the SCASM routine for scenery density tests variable 346 to tell the bgl what the density is set-to. The following line of code is typical to set scenery density for an object to Very Dense:IfVarRange( :no_display 346 %12 4 )In this line of code the %12 parameter is the key and tells SCASM to expect the next number (in this case 4) to define scenery density, else jump to the Label ":no display" which is coded to end the routine with no display. You can review the Scasm docs for "IfVarRange(" and the appendix listing the variables to learn how it works.Good Luck; J.R.

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