Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Problem with timing script...
MissMarilynn Offline
Member

Posts: 77
Threads: 23
Joined: Oct 2011
Reputation: 1
#11
RE: Problem with timing script...

(01-10-2012, 05:07 AM)flamez3 Wrote: Replace 01_amb_darkness.ogg to 02_amb_safe.ogg.

Now go to

void intro4(string &in asTimer)
{
SetMessage("Intro", "Beginning3", 5);
AddTimer("", 6, "intro3");
}

And Add StopMusic(float afFadeTime, int alPrio);

It would look like this:

Quote:void intro4(string &in asTimer)
{
SetMessage("Intro", "Beginning3", 5);
AddTimer("", 6, "intro3");
StopMusic(6.0f, 1);
}
And at

void intro3(string &in asTimer)
{
FadeIn(2);
}

Add PlayMusic("01_amb_darkness.ogg", true,1.0f, 2.0f, 0, true);

It would look like this:

Quote:void intro3(string &in asTimer)
{
FadeIn(2);
PlayMusic("01_amb_darkness.ogg", true,1.0f, 2.0f, 0, true);
}
Hurray! Thank you so much for walking through this with me.

You don't perchance know how to add images along with the text do you? I'm looking everywhere but I can't seem to find any scripting for it. I know how to add images to the loading page but not the fade in/out...
01-10-2012, 05:35 AM
Find


Messages In This Thread
Problem with timing script... - by MissMarilynn - 01-10-2012, 12:48 AM
RE: Problem with timing script... - by flamez3 - 01-10-2012, 01:04 AM
RE: Problem with timing script... - by flamez3 - 01-10-2012, 02:25 AM
RE: Problem with timing script... - by Statyk - 01-10-2012, 03:18 AM
RE: Problem with timing script... - by flamez3 - 01-10-2012, 03:28 AM
RE: Problem with timing script... - by flamez3 - 01-10-2012, 04:22 AM
RE: Problem with timing script... - by flamez3 - 01-10-2012, 05:07 AM
RE: Problem with timing script... - by MissMarilynn - 01-10-2012, 05:35 AM
RE: Problem with timing script... - by flamez3 - 01-10-2012, 06:03 AM
RE: Problem with timing script... - by Khyrpa - 01-10-2012, 06:15 AM
RE: Problem with timing script... - by flamez3 - 01-10-2012, 06:19 AM



Users browsing this thread: 1 Guest(s)