Set Day


Sets the current in-game day. Refer to the Set Time function for details about changing the in-game time.

Signature:

set_day(day)
ArgumentDescriptionTypeRequired
dayValue to set the current day to.NumberYes

Example:

set_day(global.day + 1);

Results: Advances the current in-game day to the next day.

Use the Set Day function in season-based games to progress time to another season once a certain point in the game's story has been reached.


Editor Node: