Lua:Partmgmt

Lua:Partmgmt

From BeamNG

Contains Attributes and functions for controlling the part management.

File location: lua\vehicle\.lua

Attributes

table config = {}

Member Functions

nil save (fn)
nil load (fn, guiMode, reload)
nil setConfig (args, reload)
nil showGUI ()
nil doPartChanges ()
bool destroyed ()
nil selectPart (partName)
nil selectReset ()
nil guiCallback (mode, str)
nil onDeserialized ()
nil resetConfig ()
table getConfig ()

Public Interface

  • destroyed
  • save
  • load
  • selectPart
  • selectReset
  • showGUI
  • guiCallback
  • setConfig
  • onDeserialized
  • resetConfig
  • getConfig