Jump to content

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
Guest GCBarni

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...