Lua:Partmgmt

Lua:Partmgmt

From BeamNG

Revision as of 04:32, 22 January 2015 by Nug700 (talk | contribs) (Created page with "Contains Attributes and functions for controlling the part management. File location: lua\vehicle\.lua == Attributes == <source lang="lua"> table config = {} </source> == ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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