Home   Help Search Login Register  

Author Topic: Delaying Text with radio Messages  (Read 883 times)

0 Members and 1 Guest are viewing this topic.

-=Reaper=-

  • Guest
Delaying Text with radio Messages
« on: 01 May 2003, 20:42:48 »
I'm currently workign on a map wich i willl add custom
Radio voices for the first time now my problem is that
When the Trigger to execute the script is triggerd the
Stringtable text Shows up straight away but the
sound takes 1 to 2 secs before starting
is there anyway to delay the stringtable text for 1/2 secs?

Knut Erik

  • Guest
Re:Delaying Text with radio Messages
« Reply #1 on: 01 May 2003, 21:04:57 »
Yes, I think so...
The radio might look like this in your description.ext

   class YourText
   {
      name = "YourText";
      sound[] = {"YourText.ogg", db, 1.0};
      titles[] =
      {
         $STRM_YourText, <===Look here!
      };
   };

=====================================

   class YourText
   {
      name = "YourText";
      sound[] = {"YourText.ogg", db, 1.0};
      titles[] =
      {
         2, $STRM_YourText,<===Change it to this!
      };
   };

This will make the text defined in STRM_YourText show up two seconds after the sound is played! You can also add more text to one radio message like this:

   class YourText
   {
      name = "YourText";
      sound[] = {"YourText.ogg", db, 1.0};
      titles[] =
      {
         0, $STRM_YourText1,
         5, $STRM_YourText2,
      };
   };

This will make YourText2 show up five seconds after YourText1


Coool eh?  8)