Home   Help Search Login Register  

Author Topic: Texts with sound aren't working?  (Read 1122 times)

0 Members and 2 Guests are viewing this topic.

Serial Killer

  • Guest
Texts with sound aren't working?
« on: 16 Apr 2005, 19:32:21 »
I just made one mission, and I placed there custom voices. When I activate that sound, the guy says it without problems, but the problems is, I can't see the texts, what I writed there. Here's the script..

Goran say "pos"
titleText ["Goran:  Find a good sniping position and open fire, when I say so.","Plain down"]

As I said, I can't see that text, when that guy says that sound. What should I do?

Offline RujiK

  • Members
  • *
  • KoKo Puh-Fizzles!
Re:Texts with sound aren't working?
« Reply #1 on: 16 Apr 2005, 22:45:04 »
Actually you can just put the text into the description.ext file, so whenever anyone says this sound the text will automaticly come up.

Behold!
Code: [Select]
   class msg01
   {
      name = "msg01";
      sound[] = {"pos.ogg", db+25, 1.0};
      titlesfont = "Garamond64";
      titlessize = 0.040;
      titles[] =
      {
         0, "Howdy Partner! \nNOTE! Your message goes here!"
      };
   };
« Last Edit: 16 Apr 2005, 22:48:33 by RujiK »
I like your approach, lets see your departure.
Download the New Flashlight Script!

Offline Blanco

  • Former Staff
  • ****
Re:Texts with sound aren't working?
« Reply #2 on: 17 Apr 2005, 00:49:56 »
Hey, I"ve learned something today, good to know  :)
Search or search or search before you ask.

Serial Killer

  • Guest
Re:Texts with sound aren't working?
« Reply #3 on: 17 Apr 2005, 10:25:24 »
Haha, me too. Thanks!