RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Flowgraph Base ModuleFlowgraph Base NodeFlowgraph Base State NodeFlowgraph Node BuilderFlowgraph GraphFlowgraph Group HelperFlowgraph LinkFlowgraph ManagerNew Node TemplateFlowgraph PinFlowgraph States ManagerFlowgraph UtilsFlowgraph Variable Storage
Directional GravityGet Cloud by IDGet FogGet GravityGet PauseGet PhotomodeGet ScatterSkyGet Time of DayPause GamePlanetRandom Time of DayBullet TimeSet Cloud by ID NodeSet Fog NodeSet Gravity NodeSet ScatterSky NodeSet Time of Day NodeSet Wind NodeSimple Planet Node

UI

Resources

BeamNG Game Engine Lua Cheat SheetGE Developer RecipesMCP Server Setup

// RLS.STUDIOS=true

Premium Mods for BeamNG.drive. Career systems, custom vehicles, and immersive gameplay experiences.

Index

HomeProjectsPatreon

Socials

DiscordPatreon (RLS)Patreon (Vehicles)

© 2026 RLS Studios. All rights reserved.

Modding since 2024

API ReferenceGE Extensionsflowgraphnodesenvironment

Get Time of Day

- **File:** `extensions/flowgraph/nodes/environment/getTimeOfDay.lua`

Overview

  • File: extensions/flowgraph/nodes/environment/getTimeOfDay.lua
  • Name: Get Time of Day
  • Category: provider
  • Description: Returns the current Time of Day settings from the environment system.

Pin Schema

Input Pins

None.

Output Pins

NameTypeDescription
timenumberTime of day on a 0–1 scale. 0/1 = midnight, 0.5 = midday.
dayScalenumberScalar applied to time that elapses while the sun is up.
nightScalenumberScalar applied to time that elapses while the sun is down.
dayLengthnumberLength of a full day in real-world seconds.
azimuthOverridenumberFixed azimuth angle that stays constant throughout the day cycle.

Behavior

  • work(): Calls core_environment.getTimeOfDay() and outputs all fields from the returned table.

Notes

  • The time value uses BeamNG's convention: 0 and 1 are midnight, 0.5 is noon.
  • Provider category - continuously outputs without needing flow input.
  • Pairs with Set Time of Day for time manipulation workflows.

Tags

#flowgraph #node #ge #environment #timeofday #tod


Additional Exports

  • name - string - (see source)

  • icon - string - (see source)

  • description - string - (see source)

  • pinSchema - table - (see source)

  • tags - table - (see source)


See Also

  • Directional Gravity - Related reference
  • Get Cloud by ID - Related reference
  • Get Fog - Related reference
  • FlowGraph Guide - Guide

Get ScatterSky

- **File:** `extensions/flowgraph/nodes/environment/getScatterySky.lua`

Pause Game

- **File:** `extensions/flowgraph/nodes/environment/pauseGame.lua`

On this page

OverviewPin SchemaInput PinsOutput PinsBehaviorNotesTagsAdditional ExportsSee Also