Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: How can I put music in the game? Play *.wav files?  (Read 4866 times)

0 Members and 1 Guest are viewing this topic.

Newbie

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 1
  • I'm NOT a llama!
    • View Profile
How can I put music in the game? Play *.wav files?
« on: April 01, 2003, 11:43:00 PM »

How can I play *.wav file? The help doesn't say much about it.
Logged

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re:How can I put music in the game? Play *.wav files?
« Reply #1 on: April 02, 2003, 12:01:41 AM »

Hi, err... newbie Newbie!  ;)

How can I play *.wav file? The help doesn't say much about it.

It works the same way as it does with .ogg files.
Have a try with these fine commands :

Code: [Select]
Game.PlaySound("sounds\mail.wav");and
Code: [Select]
Game.PlayMusic("music\loop.wav");
If you want to use it for speaking characters, you can also use the Talk command:

Code: [Select]
actor.Talk("Wow, a green moon! Where am I ?", "alienmoon.ogg");
Hope this helps, until the documentation is finished (hint, hint... ;-) !).

Greetings, Jerrot.
Logged
Mooh!

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:How can I put music in the game? Play *.wav files?
« Reply #2 on: April 02, 2003, 04:30:15 PM »

Hope this helps, until the documentation is finished (hint, hint... ;-) !).
Ok, ok, the updated documentation is currently (almost) on top of my priority list, satisfied? ;)
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re:How can I put music in the game? Play *.wav files?
« Reply #3 on: April 02, 2003, 04:35:03 PM »

Ok, ok, the updated documentation is currently (almost) on top of my priority list, satisfied? ;)

VERY! (almost)  ;) :D

Logged
Mooh!
 

Page created in 0.058 seconds with 20 queries.