Jump to content
Sign in to follow this  
Guest

Need help with SCASM and library objects

Recommended Posts

Guest

Hi!I have been trying to find help for my problem here in many threads but I am just getting more confused....The thing is that I need to place many many many library objects in a row and I used GRP command and relative (?) RefPoint coordinates to place them. With Arno's help (thanks ;-) ) that is not a problem. The problem is that I can't get the objects appear and disappear smoothly even though they have a separate V1 setting in the refpoint. All the objects (that span 600 m) pop up at the same time and disappear at the same time instead of appearing and disappearing smoothly one by one. What could be the reason?Header( 1 N66:34:40.25 N66:32:43.69 E025:49:51.00 E025:49:51.00 )LatRange( N66:32:43.69 N66:34:40.25 )Area( B N66:34:32.8960 E025:51:01.5357 20 )GRP( N66:34:32.8960 E025:51:01.5357 )PerspectiveCall( :L1 )ShadowCall( :L1 )Jump( : ):L1RefPoint( 2 :SF67 0.50 d [0.5 * 490.63] [0.5 * 345.33] E= 196.7 V1= 3000 V2= 800 )RotatedCall(:SR67 0 0 36.2 ):SF67Return:SR67callLibobj( 0 EF50EF50 EF50EF50 EF50EF50 0000000B )RefPoint( 2 :SF68 0.50 d [0.5 * 477.64] [0.5 * 363.08] E= 196.7 V1= 3000 V2= 800 );SetScale( :SF68 2400 0 0.5 )RotatedCall(:SR68 0 0 36.2 ):SF68Return:SR68callLibobj( 0 EF50EF50 EF50EF50 EF50EF50 0000000B ) . *******************. Continues like this.... *******************ReturnEndAGreetings,Tatu

Share this post


Link to post
Share on other sites

The reason of your problem is that if one fails you jump to a Return and all the others will also be skipped then. So when one RefPoint fails, you should jump to a label after that object and check the next one.


Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites
Guest

Ah.....thank you.;-) I had that already built up differently but when I was reading some topics here I thought the "Return" should be done differently. Now I just have all the refpoints in a row. When a refpoint fails it continues to the next one and the last one points to the Return command. Seems to work now.Tatu

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...