Quote:
Originally Posted by Nisgeis
Yes, this is the first draft - second draft soon (TM). The thermal layer was far too effective before and was an invisibility cloak, perhaps it was a bit over zealous to completely remove the effects. but the thermal layer system is not well modelled. In the Atlantic, layers would form on hot sunny days over the course of the day, so that by late afternoon, conditions for ASDIC were very poor, but this is not modelled. It's on all the time, or off all the time. You can get night time or day time from the scripts, but I don't think you can get local time of day. I'll re-visit it later, as I'm thinking of a few things regarding this, flares and a few other things to do with ASDIC interference.
|
Hi Nisgis this may be of use to you:
Code:
def GetCurrentGameDateTime():
d = Game.CurrentGameDateTime
if d.Hour in [ 3,4,5,6 ]:
return True
else:
return False
You can put what ever times you want in the bracket.
Also you can set up the above using different veriables so to have different action at different times

.
Hope this is of help.