Lua:Sounds

Lua:Sounds

From BeamNG

Revision as of 04:49, 22 January 2015 by Nug700 (talk | contribs) (Created page with "Contains Attributes and functions for controlling sounds. File location: lua\vehicle\sounds.lua == Attributes == <source lang="lua"> </source> == Member Functions == <sour...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Contains Attributes and functions for controlling sounds.

File location: lua\vehicle\sounds.lua

Attributes


Member Functions

nil playSoundOnceAtNode (soundName, nodeID, volume)
nil playWheelSound (wheelID, soundName, vol, pitch)
nil update (dt)
nil addWheelSound (wheelID, wd, soundName)
obj createSFXSource (SFXname, nodeID)
nil init ()
nil destroy ()

Public Interface

  • update
  • playSoundOnceAtNode
  • destroy
  • init