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 Intro with Text
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#2
RE: Intro with Text

(12-27-2011, 08:54 AM)CONFiCKER Wrote: So here's the deal:

I have an intro where the screen fades black instantly in the start of the game. Then some text appears on the screen. Let's say the text would stay on the screen for like 5 seconds. The screen would fade in back to normal after the text has gone. But I don't know how to make the screen fade in after the text (5 seconds). It always starts to fade in instantly...

I'm a decent scripter and I would greatly appreciate your help. =(
{
FadeOut(0.1f);
SetMessage(string& asTextCategory, string& asTextEntry, 5.0f);
AddTimer("timer1", 5.0f, "Timer_1");
}


void Timer_1(string &in asTimer)
{
FadeIn(0.1f);
}


With the setmessage:


asTextCategory- the category in the .lang file
asTextEntry - the entry in the .lang file

(This post was last modified: 12-27-2011, 09:48 AM by flamez3.)
12-27-2011, 09:46 AM
Find


Messages In This Thread
Intro with Text - by BasicFlavour - 12-27-2011, 08:54 AM
RE: Intro with Text - by flamez3 - 12-27-2011, 09:46 AM
RE: Intro with Text - by BasicFlavour - 12-27-2011, 08:24 PM
RE: Intro with Text - by Statyk - 12-27-2011, 09:01 PM



Users browsing this thread: 3 Guest(s)