Thanks! Glad you enjoyed it.
Yeah, for the daily map it basically is taking 00:00 GMT of the current day and making that the seed for the randomizer.
var date = OS.get_datetime() date['hour'] = 0 date['minute'] = 0 date['second'] = 0 var daily_seed = OS.get_unix_time_from_datetime(date) reset(daily_seed)
and then in the reset function itself
func reset(initial_seed: int = 0):
randomize()
if initial_seed:
map_seed = initial_seed
else:
map_seed = randi()
seed(map_seed)
print("Seed: ", map_seed)
Map.create()