December 19, 200421 yr 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
December 20, 200421 yr 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
December 20, 200421 yr Commercial Member 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. 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
December 20, 200421 yr Author Thanks guys! Yep.....now that I see it, that sounds VERY familiar!! I appreciate the help!Don
Create an account or sign in to comment