Element/Sound: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: TODO)
 
No edit summary
Line 1: Line 1:
TODO
The sound element represents a custom sound sent to the client via the use of the file parameter inside the meta file and created either by playSound or playSound3D.
 
A sound element created by playSound3D and not playSound can be manipulated by the use of these element functions as well as the audio functions listed at the bottom of this page.
* setElementPosition
soon to come:
* setElementInterior
* setElementDimension
 
 
The element type of this class is '''"sound"'''.
 
==Related scripting functions==
===Client===
{{Client audio functions}}

Revision as of 22:34, 26 December 2008

The sound element represents a custom sound sent to the client via the use of the file parameter inside the meta file and created either by playSound or playSound3D.

A sound element created by playSound3D and not playSound can be manipulated by the use of these element functions as well as the audio functions listed at the bottom of this page.

  • setElementPosition

soon to come:

  • setElementInterior
  • setElementDimension


The element type of this class is "sound".

Related scripting functions

Client