View Full Version : Check for the current season?
14th Mar 2011, 2:23 PM
Is there a way to check what the current season is? For a start I'm thinking a BHAV that returns true if it's winter etc. and false if it's not winter etc. Or a check for current temperature, or if there's snow on the ground...
Anything, really, that I could include in the guardian BHAV to have bees not produce honey in the winter...
15th Mar 2011, 1:01 PM
There are global functions which do exactly that:
[global 0x05B5] Season - Current Season - Is Spring? (no args)
[global 0x05B6] Season - Current Season - Is Summer? (no args)
[global 0x05B7] Season - Current Season - Is Fall? (no args)
[global 0x05B8] Season - Current Season - Is Winter? (no args)
15th Mar 2011, 3:13 PM
I thought it was more complicated, should have taken a look at the globals before asking. There are also globals for outdoor temperature and weather such as snow and rain... Now I just have to choose.
vBulletin v3.0.14, Copyright ©2000-2013, Jelsoft Enterprises Ltd.