FOnline Development > Questions and Answers

Audio lines

<< < (2/2)

KingR:
Yes, absolutely! This command is in config.fos. I copied and pasted this into the _QuakeScreen void to test. (it's launched from a dialog line)

void InitializeGame()                  // Export
{
...
__DisableMouseEvents = false;
}

But there is another one in this form in client_cutscene.fos :

void mouse(int onoff, int, int, string@, array<int>@)
{
__DisableMouseEvents = (onoff <= 0);
}

However I don't know how to add a time event in :

void _QuakeScreen(int noise, int timeMs, int, string@, array<int>@)
{
   
   //__DisableMouseEvents = true;
   //Player.loseTurn = true;
   QuakeScreen(noise, timeMs);
   
}

in this form?

 CreateTimeEvent(AFTER(REAL_SECOND(X)), "name_lineX", npc.Id, false); //goes towards an uint

 ???

KingR:
Problem solved thanks !!!!

Navigation

[0] Message Index

[*] Previous page

Go to full version