Sign in to follow this  
Donmo

Macro seasonal changes

Recommended Posts

Hi all! I used to know this, but have LOOOONG since forgotten how. How do I make a macro show in some seasons, but not in others? I want to place some boats in the water, but not have them there in the winter. Thanks for any help. :)Don Moser

Share this post


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

Somewhere after the Ref Point command, it looks like you would need to put in an "IfVarRange" command and then include the following: 6F8 followed by 0 for Winter, 1 for Spring, 2 for Summer, or 3 for Autumn. This I garnered from the doc's for Scasm, but I have no working example of such a macro to prove this.I also came across some notes I had made with respect to this,(don't remember when I wrote it down!) and one example I have goes like this: 6F8 1 3 would cause the object to show in all seasons except Winter, which is probably what you're after.Barney

Share this post


Link to post
Share on other sites

Yep, if you want the entire object to dissapear you can best place this line of code directly after the Area command.IfVarRange( : 06F8 1 3 )The seasons are like this:0 winter1 spring2 summer3 fallSo with IfVarRange( : 06F8 1 3 ) you get spring to fall, while IfVarRange( : 06F8 2 2 ) would give you only summer.

Share this post


Link to post
Share on other sites

Thanks guys! Yep.....now that I see it, that sounds VERY familiar!! I appreciate the help!Don

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