April 23, 2024, 02:22:20 PM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
For WME related articles and tutorials visit
WME Resource Center
.
Home
Help
Search
Calendar
Login
Register
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
loop sound in my scene
« previous
next »
Pages: [
1
]
Print
Author
Topic: loop sound in my scene (Read 2512 times)
0 Members and 1 Guest are viewing this topic.
dreamfighter
Supporter
Lurker
Karma: 0
Offline
Gender:
Posts: 28
loop sound in my scene
«
on:
May 17, 2008, 10:12:39 PM »
i would like to looping a sound fx in my scene, how can i do? i would like to controle volume of this sound fx too
i put this in my scene_init.script
Game.PlaySound("sound\soundfx.ogg");
so it's playing my sound but after seconds it stop
how can i loop this sound?
thank you very much
Logged
metamorphium
Global Moderator
Addicted to WME forum
Karma: 12
Offline
Gender:
Posts: 1511
Vampires!
Re: loop sound in my scene
«
Reply #1 on:
May 17, 2008, 10:17:01 PM »
Game.PlaySound("sound\soundfx.ogg", true);
Game.SetSoundVolume(50);
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet
dreamfighter
Supporter
Lurker
Karma: 0
Offline
Gender:
Posts: 28
Re: loop sound in my scene
«
Reply #2 on:
May 17, 2008, 10:45:52 PM »
very cool metamorphium
thank you very very much
Logged
Print
Pages: [
1
]
« previous
next »
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
loop sound in my scene