Author Topic: Audio lines  (Read 118 times)

Audio lines
« on: February 25, 2025, 09:09:36 pm »
Hi all.
I added Marcus' audio lines, in this form, in dialog.fos

void r_PlayMarcus(Critter& player, Critter@ npc, int val)
{
   
    if(val == 1)
        PlaySound(player, "MCS1A.ACM");
    else if(val == 2)
        PlaySound(player, "MCS1B.ACM");

The problem is that if the player go too quickly in the dialogue, the audio lines are added one on top of the other.

I would like to find a line code that stops the sounds played, just before launching the audio line. Does anyone have an idea how to do it? I'm worked on the Reloaded Season 2 server.

Offline Slowhand

  • Go for the eyes, Boo! Go for the eyes!
Re: Audio lines
« Reply #1 on: Yesterday at 08:33:59 pm »
Neither in FOClassic nor in Reloaded S2 such features do not exist. You cannot stop a sound once it's played.