Script v1.7.1.0
- AI
- Animals
- Contracts
- Debug
- Economy
- Effects
- Events
- Farms
- GUI
- Handtools
- I3d
- Materials
- Misc
- Objects
- Placeables
- Player
- Shop
- Sounds
- Specializations
- Triggers
- Utils
- Vehicles
- Weather
Engine v1.7.1.0
- AI
- Animation
- Camera
- Entity
- Fillplanes
- General
- I3D
- Input
- Lighting
- Math
- Network
- Node
- Overlays
- Particle System
- Physics
- Rendering
- Scenegraph
- Shape
- Sound
- Spline
- String
- Terrain Detail
- Text Rendering
- Tire Track
- XML
- general
Foundation Reference
createAudioSource
DescriptionCreate audio source object for 3D soundsDefinition
createAudioSource(string audioSourceName, string sampleFilename, float radius, float innerRadius, float volume, integer loops)Arguments
string | audioSourceName | audioSourceName |
string | sampleFilename | sampleFilename |
float | radius | radius |
float | innerRadius | innerRadius |
float | volume | volume |
integer | loops | loops |