User Tools

Site Tools


set_time

This is an old revision of the document!


Set Time


Sets the current in-game time in seconds. If the provided value is less than zero or greater than the game's day/night cycle duration, the in-game day will be decremented or incremented accordingly.

Signature:

set_time(time)
ArgumentDescriptionTypeRequired
time NumberYes

Example:

set_time(2);

Results: .

Use the Set Time function…


Editor Node:

Visual Demo:

set_time.1730749607.txt.gz · Last modified: 2024/11/04 11:46 by justin