Jump to content

Having something happening one year out of two


Recommended Posts

Hi,

I want to make that some events happen only one year out of two. For example, let say i want to try to create season variation, having first winter being classic, second with the variation, third being classic... How can i do this ? Since game could have various seasons and days in each seasons i'm a little confused about how to do this in a way that will adapt to every player playstyle.

 

So for the moment my idea would be to, at every season change, add a number to the specific season count. And after that, checking if the number is even or odd to decide if the effect of the variation will happen (is it possible ?). But i'm a little confused about how to do this concretely (component ? something else), how to check the result in another component, and if there is no logic fail in the idea.

 

Thanks for any help.

Link to comment
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
 Share

×
  • Create New...