non 3d sounds?
Posted: Tue Jul 21, 2015 7:26 am
How would one make a sound non 3d? Without using ambient tracks.
Dont know how to use playsound() can you eplain it?minmay wrote:set the soundType field of the SoundComponent to "ambient" in its definition, or use SoundComponent:setSoundType("ambient") at runtime, or use the playSound() global function
In script: Simply type playSound("party_fall")barronvonburp wrote:Dont know how to use playsound() can you eplain it?minmay wrote:set the soundType field of the SoundComponent to "ambient" in its definition, or use SoundComponent:setSoundType("ambient") at runtime, or use the playSound() global function
How would i make it so it runs the script to play the dialog when X is activated?Isaac wrote:In script: Simply type playSound("party_fall")barronvonburp wrote:Dont know how to use playsound() can you eplain it?minmay wrote:set the soundType field of the SoundComponent to "ambient" in its definition, or use SoundComponent:setSoundType("ambient") at runtime, or use the playSound() global function
Use the name of any defined sound in the quotes.
(This can be tested out in the console as well.)