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

Pause Game

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

Overview

  • File: extensions/flowgraph/nodes/environment/pauseGame.lua
  • Name: Pause Game
  • Category: once_p_duration
  • Icon: pause
  • Author: BeamNG
  • Description: Pauses or unpauses the game simulation.

Pin Schema

Input Pins

NameTypeDescription
valueboolIf the game should be paused (true) or unpaused (false).

Output Pins

None.

Behavior

  • _executionStarted(): Initializes internal _pauseGame flag to false.
  • workOnce(): Sets _pauseGame flag to true, indicating pause should be applied.
  • _afterTrigger(): If _pauseGame is set and the current pause state differs, calls simTimeAuthority.pause() to toggle. Then resets the flag.

Notes

  • Uses deferred execution via _afterTrigger() to avoid pausing mid-frame.
  • This pauses the game simulation (physics, time), not the flowgraph project.
  • The once_p_duration category means it triggers once and has persistent duration behavior.

Tags

#flowgraph #node #ge #environment #pause #simulation


Additional Exports

  • name - string - (see source)

  • description - string - (see source)

  • color - any - (see source)

  • icon - string - (see source)

  • author - 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 Time of Day

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

Planet

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

On this page

OverviewPin SchemaInput PinsOutput PinsBehaviorNotesTagsAdditional ExportsSee Also